DocumentTemplate

Represents information about dynamic document generation. This object is available in API version 56.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see DocumentTemplate in the Agentforce Life Sciences Developer Guide and Salesforce Contracts Guide.

Field NameField LabelTypeDigitsLengthPrecisionScale
ContextDefinitionNameContext Definition Namestring 255  
ContextFilterNameContext Filter Namestring 255  
ContextMappingNameContext Mapping Namestring 255  
ContextTransformationNameContext Transformation Namestring 255  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
CustomClassNameCustom Class Namestring 80  
DefaultFontStyleDefault Font Styletextarea 32768  
DocumentConversionResourceNameDocument Conversion Resource Namestring 255  
DocumentGenerationMechanismDocument Generation Mechanismpicklist 255  
ExtractOmniDataTransformNameExtract Omni Data Transform Namestring 255  
GlobalKeyGlobal Keystring 255  
HasBatchableSectionBatchable Section Availableboolean    
IdDocument Template IDid 18  
IsActiveActiveboolean    
IsDeletedDeletedboolean    
IsSectionProcessedSection Processedboolean    
LastEmbeddedTmplSectionKeyLast Embedded Template Section Keystring 4  
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
MapperOmniDataTransformNameMapper Omni Data Transform Namestring 255  
NameNamestring 80  
NamespaceNamespacestring 20  
OwnerIdOwner IDreference 18  
SectionHeaderFontStyleSection Header Font Styletextarea 32768  
SectionHeaderFontStyleValueSection Header Font Style Valuetextarea 32768  
ShouldDisplayUnmappedTokenDisplay Unmapped Tokenboolean    
ShouldExtractEmbeddedTmplTokenExtract Embedded Template Tokenboolean    
StatusStatuspicklist 255  
SystemModstampSystem Modstampdatetime    
TargetTokenItemObjectTarget Token Item Objectmultipicklist 40990 
TargetTokenObjectTarget Token Objectmultipicklist 40990 
TokenListToken Listtextarea 131072  
TokenMappingMethodTypeToken Mapping Method Typepicklist 255  
TokenMappingTypeToken Mapping Typepicklist 255  
TypeTypepicklist 255  
UniqueNameUnique Namestring 100  
UsageTypeUsage Typepicklist 255  
VersionNumberVersionint9   
XmlRelationshipMetadataXml Relationship Metadatatextarea 131072  

Feed tracking for DocumentTemplate.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
NetworkScopeNetwork Scopepicklist 40  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  
VisibilityVisibilitypicklist 40  

History for tracked fields of DocumentTemplate.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
DocumentTemplateIdDocument Template IDreference 18  
FieldChanged Fieldpicklist 255  
IdDocument Template History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  

Sharing for DocumentTemplate.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18