Salesforce

Details - Browser Form Combo Box Control Properties (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Details - Browser Form Combo Box Control Properties (Magic xpa 4.x)

Data Source Number

You can specify a data source from the Data Source repository to be used as a source for the options in the combo box.

Display Field

The field name from the selected table. You can select the field name for the selected Main source from the Variable list. Note that you must first select the Source table.

Linked Field

The field name from the selected table. You can select the field name for the selected linked table from the Variable list. Note that the variables from the Main source appear on the Variable list when a linked table is not defined.

Index

An index name from the selected table. You can select an index that is defined for the Source table.

Field Ranges

A list of range values set for defined variables of the source table to limit the range of options.

If the Source table does not have a range of values defined for a field, none will appear in the Field Range list.

Items List

A comma-delimited string that defines the available options that can be selected.

If the Display List property is not defined, each string of each item is used both for the display and for the returned value. You may set a display list by using the Display List property to differentiate between the displayed string and the returned string.

To enter a blank entry, use an escape character, the backslash (\), followed by a space: \ . To display a backslash as the last character of the last item, use two backslash characters. For example: A combo box that has the items of A:\ and C:\ should have its Items list set with A:\\,C:\\.

This property supports the As Data mode. This mode instructs the control to use the Range property of the associated field as the Item List value.

When the Items List is a set list, such as for Gender, the list can be set during the creation of the column in the data source.

See also:

ControlItemsList function

Display List

The values shown to the end user.

You can enter a set of comma-delimited options that will be displayed for the control but are not return values.

Note:

  • The number of entries in the Display List property must be zero or match the number of entries in the Items List property.

  • The Display List values must be entered in the same order as the return values entered for the Items List property.

For example, if you enter 1, 2, 3 in the Items List property field, where 1 is red, 2 is blue, and 3 is green, the red, blue, and green values must be entered in the order of 1, 2, 3.

To enter a blank entry, use an escape character, the backslash (\), followed by a space: \ . To display a backslash as the last character of the last item, use two backslash characters. For example: A combo box that has the items of A:\ and C:\ should have its Items list set with A:\\,C:\\.

When the Display List property is blank, the options entered in the Items List property field are both display and return strings. When there are Item List values and Source Table values (from the Data Source Number property), the Display List values must first represent the Items List values and then the Source Table values.

See also:

ControlDisplayList function

How Do I Display Different Text than the Stored Values in a Choice Control?

How Do I Display Special Characters in a Choice Control?

How Do I Set Accelerators to Choice Control Options?

Attribute

The attribute of the selected variable or expression. The Attribute property is fixed for variables. You can change the setting for items based on an expression.

Reference
Attachment 
Attachment