Create Default Document Template Entity
Loading default values into a new DocumentTemplateEntity.
NsApiSlow threshold: 5000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Response
OK
The template a document is based on is stored in the SO_arc\template folder on the server. This will return the name as displayed in the GUI, and not the physical document name, of the template the document object is based on. Carrier object for DocumentTemplateEntity. Services for the DocumentTemplateEntity Carrier is available from the List Agent.
Primary key
The template list item
Tooltip or other description
1 = save document records in DB; otherwise not.
Relative to TemplatePath, or extref for other document plugins. i.e URL or full path.
Processed via tag substitution to give document reference
1 = app, 2 = doc, 3 = email, 4 = fax, 5 = phone, 6 = todo - see EAppntRecordTypes
Unknown, Appointment, Document, Email, Fax, Phone, Todo, MergeDraft, MergeFinal, SavedReport True if deleted
1 = incoming, 2 = outgoing, see EAppntDirection
Unknown, Incoming, Outgoing, SaintAll Which document plugin is responsible for the documents generated from this template
What is the intention of this document (used by SAINT)
Published to external persons
Rank order
Which document plugin is responsible for this template's contents
The mime type
True if the template is in use in a project or sales guide
The document type to use when creating a blank document. Plugin-specific. Used when not creating template from a local file.
The role this document plays in the Quote system, if any
None, MailBody, MainDocument, QuoteLines, ConfirmationMailBody, ConfirmationLines Indicator that this document template has a functional role, related to privacy/GDPR
None, PersonRegistered Subject to use if document template is an email.
True if the email signature should be added in bottom of mail if this an email template
True if when using this template there should be shown a place for editing current choices of person, compant, sale, project etc
If email template, when DocType is Privacy or quote email, it is possible to make sender address like our contact, or our support contact, or always one address
UseDefaultSender, UseOurContact, UseSupportContact, UseLoggedInUser If email template, default senderaddress when template is of type quote email or privacy email.
Type for sending email meeting invitation. Not an invitation type template = 0, New = 1, Changed = 2, Cancelled = 3
None, New, Changed, Cancelled Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Related topics
Create Default Document Template EntityNSListAgentCreate Default Template Variables ParametersCreate Default Document EntityCreate Default Document Entity From SuggestionCreate Default Document Template Language