User-Defined Data Sources
Guide Template Language offers two types of user-defined data sources:
- Dataobjects use a global scope, making data available for reuse multiple times via section tags.
- Datasources reside locally within the tags, making data accessible only inside the scope of the datasource tags.
In this example, the two sections for the dataobject would display this text:
The first section for the datasource example would display this text:
The second section from the datasource example would display this text:
The section does not display the template tag because it could not access any relevant data.