Parameters specifying source and properties for template variable substitution.
Constructors
NSTemplateVariablesParameters()
Initializes a new instance of the NSTemplateVariablesParameters class.
Methods
GetAppointmentId()
Returns: CRMScript.Global.Integer - Identifier for an appointment.
Example:
Returns: CRMScript.Global.Integer - Identifier for a contact.
Example:
GetCultureName()
Returns: CRMScript.Global.String - Name of culture to be used for culture-sensitive data, such as dates or multi-language texts.
Use a blank string to accept current culture that is set on the server.
Example:
Returns: CRMScript.Global.String[] - Array with custom tags and values. Array may be of unlimited height, but need to be exactly 2 in width.
Example:
GetDocumentEntity()
Returns: CRMScript.NetServer.NSDocumentEntity - Custom document entity to use for data retrieval.
Useful for unsaved data. NSDocumentEntity.DocumentId need to match the DocumentId specified in separate property.
Example:
GetDocumentId()
Returns: CRMScript.Global.Integer - Identifier for a document.
Example:
GetEncoding()
Returns: CRMScript.Global.Integer - Encoding of source string. See <xref href=“CRMScript.NetServer.GeneratorEncoding” data-throw-if-not-resolved=“false”></xref>
Non-text formats such as MsWord or Excel should be Base64 encoded in the source string.
Example:
GetPersonId()
Returns: CRMScript.Global.Integer - Identifier for a person.
Example:
GetProductKey()
Returns: CRMScript.Global.String - Product key.
Example:
GetProjectId()
Returns: CRMScript.Global.Integer - Identifier for a project.
Example:
GetQuoteAlternativeId()
Returns: CRMScript.Global.Integer - Quote alternative Id.
Example:
GetQuoteLineId()
Returns: CRMScript.Global.Integer - Quote line Id.
Example:
GetSaleId()
Returns: CRMScript.Global.Integer - Identifier for a sale.
Example:
GetSelectionId()
Returns: CRMScript.Global.Integer - Identifier for a selection.
Example:
Returns: CRMScript.Global.String - Source string to parse for template variables.
Such variables must have delimiters corresponding to the standard for the given generator encoding.Non-text source data (such as the binary content of a .doc file) should be passed in as Base64.
Example:
SetAppointmentId(Integer)
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
SetCultureName(String)
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
SetDocumentEntity(NSDocumentEntity)
Returns: CRMScript.Global.Void
Example:
SetDocumentId(Integer)
Returns: CRMScript.Global.Void
Example:
SetEncoding(Integer)
Returns: CRMScript.Global.Void
Non-text formats such as MsWord or Excel should be Base64 encoded in the source string.
Example:
SetPersonId(Integer)
Returns: CRMScript.Global.Void
Example:
SetProductKey(String)
Returns: CRMScript.Global.Void
Example:
SetProjectId(Integer)
Returns: CRMScript.Global.Void
Example:
SetQuoteAlternativeId(Integer)
Returns: CRMScript.Global.Void
Example:
SetQuoteLineId(Integer)
Returns: CRMScript.Global.Void
Example:
SetSaleId(Integer)
Returns: CRMScript.Global.Void
Example:
SetSelectionId(Integer)
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example: