Name | Description | |
---|---|---|
DataSources | Gets the collection of data sources associated with the current document's data templates. | |
Options | Gets options controlling the behavior of the template processing engine. |
The following tables list the members exposed by DataTemplate.
Name | Description | |
---|---|---|
DataSources | Gets the collection of data sources associated with the current document's data templates. | |
Options | Gets options controlling the behavior of the template processing engine. |
Name | Description | |
---|---|---|
BatchProcess | Iterates over root items in DataSources, starting with a fresh copy of the document and processing templates separately for each root data item.
The itemProcessed action is called as each data item is processed. This action can be used to save the current version of the document (containing data only from the current root data item). When this method completes, the document is restored to the original state (i.e. it will contain the original template tags rather than data values). | |
DebugExpandTemplate | Expands the template. The template will be processed and all missed tags added. | |
Process | Processes templates in the document, iterating over root items in DataSources, and replacing template tags in the document with data. | |
Validate | Validates all templates in the current document, finds any template tags that are malformed or used incorrectly. |