Build Reusable Templates
PreviousMath Tags Null Value Error: Ending Position Out of Bounds (22) Stack Invalid DoubleNextComponent Template How-to Article
Last updated
Was this helpful?
Components are sub-templates that contain page sections that can be merged into a parent template.
Components allow for a more modular template design scheme:
Render larger sections of content through conditional logic while keeping the parent template easy to read
Reuse document sections across multiple parent templates
Repeat a formatted section of content as a list or table using a Component Query
Edit the template in the Template Editor
HTML-based parent template formats: PDF, HTML, DOC
No headers/footers, page or email configuration; this is determined by the parent template.
Edit the template in Word or other DOCX editor using DOCX syntax
Only intended for DOCX parent templates
Only include a body in the template file
There is no component version of this format but it can be used like a Component template
Edit the template in the PDF-Upload editor
Can only be merged into a PDF parent; no type of component can be merged into a PDF-Upload template.
Configuration of document or email options in a PDF-Upload component will be ignored when merged into a parent PDF.
HTML-based: {{{{!YourTemplateNameHere}}}}
DOCX: [{{{{!YourTemplateNameHere}}}}]
PDF-Upload: {{{{!YourTemplateNameHere componentType="pdf-upload”}}}}
You can add your Component-type template through the Insert Field tool from the Other Templates tab:
This method works best when your Component’s base object matches your parent template’s base object.
To build a table or list with sections repeating for each result in a SOQL query, use a Component Query.
To dynamically reference and render components in templates, use the following syntax:
{{{{!{{!FullName}} Component}}}}
Last updated
Was this helpful?
Was this helpful?

