DocumentTemplateSection
Represents a section in a document template. A document template section can be a clause, image, context, embedded template, or signature. This object is available in API version 52.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
DocumentTemplateSection is available if your org has the DocGen platform license and related addon and user licenses.
Type: picklist
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: The type of access for the section in a generated document.
Possible values are Editable or ReadOnly—Read Only
The default value is Editable.
Type: textarea
Properties: Create, Nillable, Update
Description: The condition that controls the display of a section in the document template.
Type: reference
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The ID of the document template clause association with the section.
This field is a relationship field.
Relationship Name: DocumentTemplateClause
Relationship Type: Lookup
Refers To: DocumentClause
Type: reference
Properties: Create, Filter, Group, Sort
Description: The ID of the document template associated with the section.
This field is a relationship field.
Relationship Name: DocumentTemplate
Relationship Type: Lookup
Refers To: DocumentTemplate
Type: reference
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The ID of the embedded document template associated with the section.
This field is a relationship field.
Relationship Name: EmbeddedDocumentTemplate
Relationship Type: Lookup
Refers To: DocumentTemplate
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the section number must be reset in the generated web document.
The default value is false.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the section must be generated using a batch job.
The default value is false.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates if the section must be displayed on a new page in the generated web document.
The default value is false.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether a line should get added after the section in a generated web document.
The default value is false.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the section number must be displayed on the generated web document.
The default value is false.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the table header must be displayed on every page in the generated web document.
The default value is false.
Type: string
Properties: Create, Filter, Group, idLookup, Sort, Update
Description: The name of the section in a document template.
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The name of the custom class associated with the section.
Type: textarea
Properties: Create, Nillable, Update
Description: The content of the section in either HTML or JSON format.
Type: double
Properties: Create, Filter, Nillable, Sort, Update
Description: The sequence of the section in the generated web document.
Type: picklist
Properties: Create, Filter, Group, Restricted picklist, Sort, Update
Description: The type of section in a document template.
Possible values are:
ClauseContextCustomEmbeddedTemplate—Embedded TemplateImageItemRepeatingContent—Repeating ContentSignature
Type: textarea
Properties: Create, Nillable, Update
Description: The field to select font style for the display of item section type in the generated web document.
Type: textarea
Properties: Create, Nillable, Update
Description: The value of the font style selected for the display of the item section type in the generated web document.
Type: textarea
Properties: Create, Nillable, Update
Description: The tokens used for integration with eSignature applications.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the section content must be displayed inline with the section header in the generated web document.
The default value is false.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the section name must be displayed in the generated web document.
The default value is false.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the embedded key should be generated in the generated web document.
The default value is false.
Type: textarea
Properties: Create, Nillable, Update
Description: The list of tokens used in a section of the generated web document.
Type: int
Properties: Filter, Group, Nillable, Sort
Description: The number of display conditions for the section in a document template.
This field is a calculated field.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
DocumentTemplateSectionChangeEvent: Change events are available for the object.
DocumentTemplateSectionFeed: Feed tracking is available for the object.
DocumentTemplateSectionHistory: History is available for tracked fields of the object.
DocumentTemplateSectionOwnerSharingRule: Sharing rules are available for the object.
DocumentTemplateSectionShare: Sharing is available for the object.