Constructors
NSAttachmentEntity()
Initializes a new instance of the NSAttachmentEntity class.
Methods
GetAttachmentId()
Returns: CRMScript.Global.Integer - The primary key (auto-incremented).
Example:
GetAttSize()
Returns: CRMScript.Global.Integer - The size (in bytes) for the attachment.
Example:
GetContentId()
Returns: CRMScript.Global.String - The content_id of this attachment, used for inline images.
Example:
GetContentType()
Returns: CRMScript.Global.String - The content type for the attachment.
Types can for example be ‘application/octet-stream’ or ‘application/vnd.openxmlformats-officedocument.wordprocessingml.document’
Example:
GetInlineImage()
Returns: CRMScript.Global.Bool - True if this attachment is inlined in the html_body.
Example:
GetName()
Returns: CRMScript.Global.String - The filename for the attachment.
Example:
SetAttachmentId(Integer)
Returns: CRMScript.Global.Void
Example:
SetAttSize(Integer)
Returns: CRMScript.Global.Void
Example:
SetContentId(String)
Returns: CRMScript.Global.Void
Example:
SetContentType(String)
Returns: CRMScript.Global.Void
Types can for example be ‘application/octet-stream’ or ‘application/vnd.openxmlformats-officedocument.wordprocessingml.document’.
Example:
SetInlineImage(Bool)
Returns: CRMScript.Global.Void
Example:
SetName(String)
Returns: CRMScript.Global.Void
Example: