Newer Version Available

This content describes an older version of this product. View Latest

DocumentGenerationSetting

Represents an org's settings for automatic document generation from templates. This object is available in API version 54.0 and later.

Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Special Access Rules

DocumentGenerationSetting is available if your org has the DocGen platform license and related addon and user licenses.

Fields

Field Details
BatchDocGnrnPctLimitPerHour
Type
percent
Properties
Create, Defaulted on create, Filter, Nillable, Sort, Update
Description
The maximum percentage of hourly server-side document generation requests used for batch processing.
Available in version 58.0 and later.
DocumentTemplateLibraryName
Type
string
Properties
Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
Description
The name of the library associated with the document template.
GenerationMechanism
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The location where the web document is generated.
Possible values are:
  • ClientSide—Client-Side
  • ServerSide—Server-Side
The default value is ClientSide.
GuestAccessNamedCredential
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The named credential that lets guest users generate documents.
IsBatchDocGnrnEnabled
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether server-side document generation requests are queued and processed within the hourly batch document generation limit.
The default value is false.
Available in version 58.0 and later.
IsServerSideDocGenEnabled
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether side server document generation is enabled true or not false for this org.
The default value is false.
Language
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The language of the label in the user interface.
Possible values are:
  • da—Danish
  • de—German
  • en_US—English
  • es—Spanish
  • es_MX—Spanish (Mexico)
  • fi—Finnish
  • fr—French
  • it—Italian
  • ja—Japanese
  • ko—Korean
  • nl_NL—Dutch
  • no—Norwegian
  • pt_BR—Portuguese (Brazil)
  • ru—Russian
  • sv—Swedish
  • th—Thai
  • zh_CN—Chinese (Simplified)
  • zh_TW—Chinese (Traditional)
MasterLabel
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The user interface label for document generation setting.
NamespacePrefix
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The namespace prefix that is associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix__componentName notation.

The namespace prefix can have one of the following values.

  • In Developer Edition orgs, NamespacePrefix is set to the namespace prefix of the org for all objects that support it, unless an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition org of the package developer.
  • In orgs that are not Developer Edition orgs, NamespacePrefix is set only for objects that are part of an installed managed package. All other objects have no namespace prefix.
PreviewType
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The type of viewer that’s used to view the generated web document.
Possible values are:
  • PDF
  • Thumbnail
The default value is PDF.

Associated Objects

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.

DocumentGenerationSettingChangeEvent
Change events are available for the object.
DocumentGenerationSettingFeed
Feed tracking is available for the object.
DocumentGenerationSettingHistory
History is available for tracked fields of the object.
DocumentGenerationSettingOwnerSharingRule
Sharing rules are available for the object.
DocumentGenerationSettingShare
Sharing is available for the object.