Salesforce

ControlItemsRefresh (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

ControlItemsRefresh (Magic xpa 4.x)

Refreshes the Items list of a specific control.

This function is useful when you have controls that get their Items List from a data source and the end user adds entries to the data source. You can then use this function to see the new entries in the control.

Syntax:

ControlItemsRefresh(control name, generation)

Parameters:

control name – as specified in the Form Editor.

generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.

Returns:

Logical

Note:

  • This function only affects the following controls: Combo box, List box, Radio button and Tab.

  • The function will not change the value of the variable attached to the control, even if this value does not exist in the new Items list.

  • If the control name is defined in two controls, the function will only affect one of the controls.

Exceptions:

This function is not supported in Web Client tasks.

See also:

The Online and Rich Client Samples projects (program HG21 and RHG21)

Since version: 3.1

Reference
Attachment 
Attachment