Apply Template¶
Apply Template widget renders a form template from process definition.
Rules and Validation¶
The <ApplyTemplate>
widget supports validation and formatting rules, affecting content visibility and data validation. These rules also apply to elements within the template itself.
Parameters¶
Templates support parameters passed from the parent form. These parameters are accessed as variables (with a $
prefix) within XPath expressions and scripts. Variable names must adhere to XML naming conventions, and values must be static.
Example Template Usage
1 2 3 4 |
|
Example with Parameters:
1 2 3 4 5 6 |
|
In this example, MyVariable
is passed to the template with a value of "10". It can then be used within the template's XPath expressions (e.g., Total > $MyVariable
).