Example Profiles (dynamic forms)
Here are the example profiles. After importing the profiles, do not forget to set them active.
In addition, you must create your own Web Monitor user for form profiles (not for data profiles), if you don't already have one, and select it (or the role it has) in phase 1.
Example 1
You can enter any order number (will simply be returned by the data profile) and the data profile will return three randomly generated item numbers after pressing the submit button (see attribute Path of the target structure node items in the data profile). We only work with fixed values here to keep the examples simple. In a real application you would rather read the data from a database.
Profile-Data_profile_1.pak ( import first )
Look at node order and field submit in the source structure of the form profile.
Example 2
In the second example we remove the button in the form profile and start the data profile when the value of the order number changes. The data profile remains unchanged.
Profile-Data_profile_1.pak (as in example 1, import first )
Look at the order_number field in the source structure of the form profile.
Example 3
Concerns Dynamic Selection Values, Possibility 1.
The attribute Data event is set to Initial in the form profile for source structure field order_number.
Example 4
Concerns Dynamic Selection Values, Possibility 2.
The attribute Data event is set to Initial in the form profile for source structure field order_number.
Look at attribute Path of the target structure node order_number in the data profile.
Example 5
Concerns the further notes on data evaluation (Evaluating Value Changes).
Profile-Nested_form_dynamic_submit_row_change_kind.pak (item numbers via button)
Profile-Data_profile_1.pak (import first)
Look at the input file of the data profile.
Look at field row_change_kind in the source structure of the form profile and its attribute Portal control.
Example 6
Concerns the further notes on data evaluation (Passing on Values from Outside the Data Node).
Profile-Nested_form_dynamic_submit_keepInSession.pak (item numbers via button)
Profile-Data_profile_4.pak (import first)
Look at the input file of the data profile.
Look at field other_field in the source structure of the form profile and the data profile.