Binding a template to a view field
To use a template to display in a view field without workflow, set the Text property of the view field to template: templateName. The parameters in a template used this way must reference fields on the form by field ID. An application can create a rich HTML-based data display using a cell-based table with data fields and a view field with a template bound to it.
To redisplay a view field with a template bound to it, for example, after one of the referenced fields has its value changed, use workflow to assign the value of the view field to itself or to a value generated by the TEMPLATE function, as describe in the next section.
Click
to download the sample template. Perform the following steps:- Create an HTML template. For example, sample_template_0.html.
- Create a new entry and attach the template to the AR System Resource Definitions form.
- Update Text property on your view field to name of the resource. For example, template:SampleTemplate.
Related topic
Using-templates-to-dynamically-present-HTML-content-from-a-form
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*