Fields
Fields
| Parameter | Description | |
|---|---|---|
idString |
optional | Id of the template. Pass it as the template Id when you generate a document. |
nameString |
optional | Name of the template. |
descriptionString |
optional | Description of the template. |
objectTypeString |
optional | API name of the Salesforce object the template is built on. |
kindString |
optional | The template file type, pdf or docx. |
createdAtDatetime |
optional | When the template was created. |
createdByString |
optional | Who created the template. |
versionNumberInteger |
optional | Version number of the template. |
tagsList<String> |
optional | Tags on the template. |
variablesList<DocGenTemplateVariable> |
optional | The runtime variables the template expects. Filled only when runtime variables are requested, which the Flow action can do and Apex currently cannot. |
Constructors
global DocGenTemplate()global DocGenTemplate( String id, String name, String description, String objectType, String kind, Datetime createdAt, String createdBy, Integer versionNumber )