Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 Working with Forms : Using Dynamic Data with Controls

Using Dynamic Data with Controls
Each control has a Bindable tab, where you can specify properties as bindable or non-bindable. In a form, any bindable attribute can be set at runtime using an XPath expression. For example, the amount of an expense report can cause a field label to display in a different color.
By default, only Value attributes are bindable. If you make additional attributes bindable, make sure the attribute is needed at runtime. A large number of bindable attributes makes it more complicated to navigate attributes in TIBCO Designer activities, and affects the runtime performance of a formflow.
To Use Dynamic Data in a Form
1.
In a formflow, the attribute can now be accessed on the Input tab of a Show Form activity that references this form. Bindable attributes display in the Process Data panel, and can be mapped to fields in the Activity Input panel.
2.
3.
Select the Set Initial Data checkbox.
4.
Click the Input tab.
This tab is divided into two panels, Process Data and Input.
5.
Create one or more mappings by selecting an attribute in the Process Data panel, and then dragging the attribute to the target schema element in the Activity Input panel.
6.
An empty field displays to the right of the schema element.
7.
8.
Click Apply.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved