Skip to main content
Settings specifying what selection to perform the mailmerge on, what merge document to use etc.

Constructors

NSMailMergeSettings()

Initializes a new instance of the NSMailMergeSettings class.

Methods

GetAddCompanyInterest()

Adds this company interest to each company recipient.
Returns: CRMScript.Global.Integer Example:

GetAddPersonInterest()

Adds this person interest to each person recipient.
Returns: CRMScript.Global.Integer Example:

GetAlwaysUseCustomAttention()

Returns: CRMScript.Global.Bool - Should custom attention always be used? If false, only use custom attention where there is no default. Example:

GetCustomAttention()

Returns: CRMScript.Global.String - Custom value for attention. Example:

GetCustomMailBody()

Returns: CRMScript.Global.String - If specified, use this value as default mail body. Example:

GetCustomMailSubject()

Returns: CRMScript.Global.String - If specified, use this value as default mail subject. Example:

GetDocumentId()

Returns: CRMScript.Global.Integer - Identity of document to be used as merge draft. Example:

GetExtraInfo()

Returns: CRMScript.Global.String - Used to store additional information for the delivery systems. Example:

GetIncludeNoMailingsRecipient()

Returns: CRMScript.Global.Bool - Include recipients that are marked with NoMailings. Example:

GetIncludeRetiredRecipients()

Returns: CRMScript.Global.Bool - Include recipients that are marked as retired. Example:

GetIncludeStoppedRecipients()

Include recipients that are marked with stop
Returns: CRMScript.Global.Bool Example:

GetIsTemporarySelection()

Returns: CRMScript.Global.Bool - If true, the selection is a temporary selection that can be deleted later. Example:

GetMailMergeDeliveryType()

Returns: CRMScript.Global.Integer - How the merged document is delivered to the recipients. See <xref href=“CRMScript.NetServer.EMailMergeTargetType” data-throw-if-not-resolved=“false”></xref> Example:

GetProjectId()

Returns: CRMScript.Global.Integer - Identity of project to use as source for recipients. Example:

GetRemoveCompanyInterest()

Returns: CRMScript.Global.Integer - Remove this company interest on each company recipient. Example:

GetRemovePersonInterest()

Returns: CRMScript.Global.Integer - Remove this person interest on each person recipient. Example:

GetSaveDocument()

Returns: CRMScript.Global.Bool - Should we save a reference to the merge document on each recipient. Example:

GetSelectionId()

Returns: CRMScript.Global.Integer - Identity of selection to use as source for recipients. Example:

GetSynchronous()

Returns: CRMScript.Global.Bool Example:

GetTaskEntity()

Returns: CRMScript.NetServer.NSMailMergeTask - If specified, register a task on recipients using properties from this object. Example:

GetTestOnly()

Returns: CRMScript.Global.Bool - If true, do the merge task, but use current user as target, instead of selection members. Example:

SetAddCompanyInterest(Integer)

Adds this company interest to each company recipient.
Returns: CRMScript.Global.Void Example:

SetAddPersonInterest(Integer)

Adds this person interest to each person recipient.
Returns: CRMScript.Global.Void Example:

SetAlwaysUseCustomAttention(Bool)

Returns: CRMScript.Global.Void Example:

SetCustomAttention(String)

Returns: CRMScript.Global.Void Example:

SetCustomMailBody(String)

Returns: CRMScript.Global.Void Example:

SetCustomMailSubject(String)

Returns: CRMScript.Global.Void Example:

SetDocumentId(Integer)

Returns: CRMScript.Global.Void Example:

SetExtraInfo(String)

Returns: CRMScript.Global.Void Example:

SetIncludeNoMailingsRecipient(Bool)

Returns: CRMScript.Global.Void Example:

SetIncludeRetiredRecipients(Bool)

Returns: CRMScript.Global.Void Example:

SetIncludeStoppedRecipients(Bool)

Returns: CRMScript.Global.Void Example:

SetIsTemporarySelection(Bool)

Returns: CRMScript.Global.Void Example:

SetMailMergeDeliveryType(Integer)

Returns: CRMScript.Global.Void Example:

SetProjectId(Integer)

Returns: CRMScript.Global.Void Example:

SetRemoveCompanyInterest(Integer)

Returns: CRMScript.Global.Void Example:

SetRemovePersonInterest(Integer)

Returns: CRMScript.Global.Void Example:

SetSaveDocument(Bool)

Returns: CRMScript.Global.Void Example:

SetSelectionId(Integer)

Returns: CRMScript.Global.Void Example:

SetSynchronous(Bool)

Returns: CRMScript.Global.Void Example:

SetTaskEntity(NSMailMergeSettings)

Returns: CRMScript.Global.Void Example:

SetTestOnly(Bool)

Returns: CRMScript.Global.Void Example: