Limitations
Supported Standard Objects
When creating a new template in Template Builder and selecting a source object, the following Salesforce standard objects are supported:
- Account
- Asset
- Authorization Form
- Campaign
- Case
- Contact
- Contract
- Event
- Individual
- Lead
- Opportunity
- Opportunity Product
- Order
- Price Book
- Product
- Task
- User
Note: Template Builder supports all custom objects. If there is a standard object that we are not supporting please let us know and in most cases we can add support for it relatively quickly.
Unsupported Field Types
When adding merge fields to your merge templates, the following field types are not supported in the merge field generator:
- Fields that are formatted for HTML (e.g., Rich Text Area fields, hyperlink custom formula fields, and formula fields with an IMAGE text function)
- Fields that store base64 encoded binary data (e.g., Attachments, Documents, and Scontrol records)
Lookup and Related Object Merge Field Limitations
Look Up Fields from the Parent Record
When adding merge fields to your merge template that look up to a parent record, you can look up to multiple parents in a single merge field. The maximum number of lookup fields in a single merge field is five parent objects.
For example, if you wanted to retrieve an opportunity's parent account, first, get that account's parent account name, then, use the following merge field below:
{{!Opportunity.Account.Parent.Name}}
The above example only looks up two times, which will merge properly as it does not hit the limit.
Note: When creating a merge field that looks up five times, then adding a Related Object field to the same merge field, the Merge Field Generator will "reset" and allow you to add an additional five lookup fields to that merge field.
Related Object Fields
When adding a bulleted or numbered related list or a related list to a table, you are allowed to add related objects of related objects to a single merge field up to three levels deep total.
For example, if you wanted to retrieve all child accounts from an account, then get those accounts' opportunities, and get a list of all the opportunity line item names from every opportunity, you could use the following merge field below:
{{!Account.r.ChildAccounts.r.Opportunities.r.OpportunityLineItems.Name}}
Note: When creating a merge field that uses related objects, you are only able to go down three related objects in total. For example, if you create a merge field to go down two related objects, then add a lookup field to the same merge field, the Merge Field Generator will only allow you to add one additional related object to that same merge field.
Unsupported Merge Fields on Headers
When adding merge fields to your merge templates, you are allowed to include merge fields in page headers and footers. However, there are limitations around enabling a "different first page" header and footer and the merge fields that exist within them.
If “Different first page” is enabled, a merge field in the first page’s header and/or footer cannot be merged unless the same merge field exists elsewhere in the template, be it in the document body or the subsequent pages’ headers and footers.
File Size Limits
When creating templates, Drive Connect is bound to a 12 MB heap limit when generating documents. This limit can be commonly run into when creating templates with Google Sheets with multiple tabs. To get past this limit, turn on off-platform processing in the Drive Connect preferences section.
Google Sheets Limitations
Drive Connect document generation does not support conditional logic merge fields for Google Sheets.
For functions such as SUM, where a range is required, it is highly recommended to leave an empty cell directly below a related list merge field so that the SUM takes the values that dynamically grow from the merge.
Note: If you would prefer not to have an empty row between your totaled formula and your related list, use the hide row option in Google Sheets.
Charts
Due to limitations from Google Sheets and how charts require valid data points (merge fields themselves do not count) to customize or setup series, only a few charts will be available for merge. These include:
- Line Charts
- Area Charts
- Stepped Charts
- Column Charts
- Bar Charts
If you would like to use a specific combination of customization or series in your charts, (stacking or pie chart) we recommend you first merge the sheet as a Google Sheet to get the data and then create a chart from that document.
Note:In order to be able to merge a Google Sheet at all with a chart, the Use Column as Labels within the chart editor must be checked.
Remerge File Data
Only documents that have been merged as a Google Sheet have the ability to remerge. Once remerged, any supported merge fields will update with new data from the record while maintaining any manually updated text in the document. Conditional merge fields are not supported on remerge.
Note: If a single cell contains multiple valuables only the merge field will remain on remerge. For example:
In a single cell: Todays Date: {{!Opportunity.CloseDate::MMMM D, YYYY}}
On Merge: Todays Date: [merge field value]
On Remerge: [merge field value]
Also if you have multiple merge fields in a single cell only one of the merge fields will remain. For example:
In a single cell: {{!$Organization.Name}} {{!$Organization.Street}}
On Merge: [merge field value] [merge field value]
On Remerge: [merge field value]