NSDocumentTemplate
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.
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.
Initializes a new instance of the NSDocumentTemplate class.
Returns: CRMScript.Global.Integer - Which document plugin is responsible for the documents generated from this template.
Example:
Returns: CRMScript.Global.String - Processed via tag substitution to give document reference.
Example:
Returns: CRMScript.Global.Integer - 0 -> record is active 1 -> record is ‘deleted’ and should not be shown in lists.
Example:
Returns: CRMScript.Global.Integer - 1 = incoming, 2 = outgoing. See <xref href=“CRMScript.NetServer.TaskDirection” data-throw-if-not-resolved=“false”></xref>
Example:
Returns: CRMScript.Global.Integer - Primary key.
Example:
Returns: CRMScript.Global.String - Relative to TemplatePath.
Example:
Returns: CRMScript.Global.String - The list item.
Example:
Returns: CRMScript.Global.Integer - What type of quote document is this? See <xref href=“CRMScript.NetServer.DocTmplQuoteType” data-throw-if-not-resolved=“false”></xref>
Example:
Returns: CRMScript.NetServer.NSDocTmplType - 1 = app, 2 = doc, 3 = email, 4 = fax, 5 = phone, 6 = todo See <xref href=“CRMScript.NetServer.TaskType” data-throw-if-not-resolved=“false”></xref>
Example:
Returns: CRMScript.Global.Integer - 1 = save document records in DB; otherwise not.
Example:
Returns: CRMScript.Global.String - Tooltip or other description.
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Related topics
Document templatesNSDocumentEntityNSSuggestedDocumentEntityNSListAgentNamespace CRMScript.NetServerNSDocumentTemplateEntity