Lookup

Displays as a combo-box. Allows the choice of a value from a list.

Options

The Object Configuration Wizard Options tab shows the specific properties for the control.

ActivityControls_Objects_Lookup_ObjectConfigurationWizard_OptionsTabv6.5

Value Default value or Expression for current control.
AutoPostBack Automatically posts a request back to the server.
Enabled Enable this object.
Visible Determines whether this control is visible.
Width Width of this object.

Default: 150

Style CSS style of this object.
CSS Class CSS class of this object.

Common Uses

The values for a lookup are dynamic and is a good control to use to display information that is going to change frequently.

How to Use

Prerequisites

  • A Process Group, Process, and Activity already created.

For more information, see Process Model.

Configure the Object

This procedure describes how to configure the Object.

ActivityControls_Objects_Lookup_ObjectConfigurationWizard_GeneralTab_ConfigureActivityLayoutv6.5

  1. Double-click the Activity. The Layout tab is displayed.
  2. Drag an Activity Control Object from the Activity Designer to the Layout tab. The Object Configuration Wizard is displayed.
  3. Click in the Name text field and select the name Object and type your Object name. For example, LO1050Lookup.
    Note the Name text field cannot contain any spaces.
  4. Click in the Caption text field and replace the text with the object name which you want displayed. For example, Lookup.
  5. Click the Options tab and configure using the previously defined fields.
  6. Click OK.
  7. On the ribbon, click the File tab, click Save or press CTRL+S to save your changes.
  8. To provide the data for the Lookup, the integration wizard can be used.  For more information, see the XMPro Integration Wizard.
  9. To provide the data for the Lookup, the Lookup Fast Field can be used.  For more information, see How to use a Lookup Fast Field.

Examples

ActivityControls_Objects_Lookup_Example1v6.5

ActivityControls_Objects_Lookup_Example2v6.5

Considerations

  • The lookup should be used for selections that are going to change frequently.
  • If the data for a dropdown is not going to change frequently then a better control to use would be the Drop-down.

 

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X