Presentation Template Creation
Presentation generation application uses following content controls:
Plain text Control
This is used to display plain text.
Examples:
- Contact Number: <%contact_number%>
- Supplier Products: <%SupplierToProduct%>
- Locations: <%locations%>
Image
The ‘Alt Text’ property of an image object is used to define the mapping to an Innovator Item property. This mapping enables the system to retrieve the image from the specified property during presentation generation.
Repeating Text Content: Tabular Presentation
Repeating content controls are used to populate tables in the presentation. The ‘Alt Text’ property of the table object defines the related path, which is used to retrieve related items. Each column in the table is then mapped to a property of the related item.
Repeating Text Content: Per Slide
The ‘Alt Text’ property of the slide title is used to define the path to related items. Properties of these related items can be referenced within the content of the slide. Slides will be repeated dynamically for each related item retrieved.
Chart Control
Query definitions are used to retrieve data for chart controls. All chart configurations are specified within the ‘Alt Text’ property of the chart object. Please refer to the image below.
Tag Naming Conventions and its Meaning
In the above image tag value is given as <%supplier_name%>. Let us see what it means
- <%..%> Indicates, processing at server end. Please note that it is mandatory to follow this convention.
- <%supplier_name%> In this context, ‘supplier_name’ refers to the name of a property within the Supplier ItemType. By using this tag, the application identifies the corresponding property value in Aras Innovator and substitutes it into the presentation at the designated placeholder.
- <%SupplierToPart.related_id.name%> Here involves relationship.
- ‘SupplierToPart’: is the RelationshipType of Supplier Item Type.
- ‘related_id’ is the property pointing to Part Item Type.
- ‘name’: is the property of Part Item Type.
So, this tag value actually fetches the value of Property ‘name’ attached to ‘Part’ item type.
Using this naming convention, the server follows a specific sequence when processing the tag:
- Go to ‘SupplierToPart’.
- Search for related_id and get the Data Source value which is ‘Part’ in this case.
- Go to Part and access the ‘name’ property value.