Creating a Dynamic Progress Indicator Using the Data Source Bind Type
Create a dynamic navigation definition bound to a data source, where each row is used to generate one button each.
Using this bind type requires a data source with fields corresponding to the necessary field mappings, which are described below. If you do not have access to one already, you can use the Data Designer to create one.
Implementation:
- Open the Properties tab for a dynamic Progress Indicator and click Configure.
- Tick the Enable Dynamic Progress Indicator checkbox.
- Use the Bind Type drop-down menu to select Data Source.
- Switch to the Data Source tab.
- Use the Data Source drop-down menu to choose the data source to bind to the indicator.
- Use the Data Source Filter drop-down menu to select a filter. Only fields matching this filter will be used to generate buttons in the progress indicator.
- Use the On Button Click Action drop-down menu to select an action that will be executed when a button is clicked. The result of this action will determine which form is accessed when a button is clicked.
You can click Model Actions to access all actions in the current model, or click Refresh to update the list, making sure it is up to date.
- Switch to the Field Mapping tab.
- Use the Button Identifier drop-down menu to select the field containing the name of the button's keyword. This will be pushed into the data source field alias, and will be available to the action that runs when the button is clicked.
- Use the Button Text drop-down menu to select the field containing the text that will appear on each button.
- Use the Highlighted drop-down menu to select a Boolean field that determines whether the button should be highlighted.
- Use the Enable drop-down menu to select a Boolean field that determines whether the button should be enabled.
- Use the Cause Validation drop-down menu to select a Boolean field that determines whether the button should have Cause Button Validation applied. For more information, refer to Appendix: Attribute Types.
- Use the Style drop-down menu to select a field containing the name of a valid style to apply to the button.
- Use the On Click Value drop-down menu to select a value that will be pushed into the data source field alias variable, which will be available to the specified action when the button is clicked.
- Click Save to create the progress indicator.