Several types of document templates exist to allow the management of new use cases, such as appendices to the main templates.
It is possible to add one or more documents after a main document was generated, thanks to the associated documents. These documents can be added with or without conditions. They are dependent on the main document and cannot be generated alone.
These documents can be added with or without conditions. They are dependent on the main document and cannot be generated alone.
For example, this may be General Terms and Conditions of Sale or Product Sheets.
Static : The document does not contain tags.
In this case, there is no choice of main object.
Example: static terms and conditions
Dynamic : The document contains tags.
In this case, the object is selected from among the primary or secondary type objects of the main document template.
Example: an appendix with dynamic information
Multiple : The document contains tags and is repeated according to the number of child objects in the main document.
In this case, the object is selected from among the child objects of the main document template.
Example: product sheets, the main document contains a table with 5 products, then the associated document will be added 5 times after the main document, once for each product
Chart : The document is an Excel file that contains a graph to be displayed on the document to be generated
For more details, you can consult The dedicated article
Once the associated document has been created, you will be redirected to the document template in order to load the desired template via the “Add a template” button.
It is also possible to link an existing associated document template to a main document template.
You can add conditions for displaying an associated document after the main document.
This associated template is a technical appendix for creating charts from Excel data and displaying them in a Word or PowerPoint document.
Creating the associated model
Creating the Excel document
Inserting the chart into the main document
Tag syntax: {!gnxgraph|graph_name(w=200)}
GRAPH_NAME : corresponds to the exact name of the chart in Excel (ex.: ChartB).
w=200 : defines the width of the graph in pixels (ex: 150 for a reduced size)
Example: {!gnxgraph|ChartB(w=150)}
Table name = Chart name
Table + Chart on the same Excel sheet if you want to update the rows of the chart
Step 1: Salesforce Setup
Main model: do the configuration as if there were no graphics on the object model and other characteristics
Associated model: configure the object model correctly
Step 2: Build a table and define a name
Step 3: Base a chart on the same name
Step 4: Put the name in a tag in Word or PowerPoint & define the size