Skip to main content
Return value object for Document Plugin API calls.

Constructors

NSReturnInfo()

Initializes a new instance of the NSReturnInfo class.

Methods

GetAdditionalInfo()

Returns: CRMScript.Global.String - Optional, additional information meant for further processing.
This member is ignored for return types None, Message and SoProtocol. It can be used to pass execution-dependent information to the code that handles CustomGui and Other.
Example:

GetExternalReference()

Returns: CRMScript.Global.String - The document plugin’s key that uniquely identifies a document.
Stored in the externalReference field of the document table
Example:

GetSuccess()

Returns: CRMScript.Global.Bool - Did the call succeed. A successful call may still return a message or other return value. Example:

GetType()

Returns: CRMScript.Global.Integer - How is the return value to be understood by the caller. See <xref href=β€œCRMScript.NetServer.ReturnType” data-throw-if-not-resolved=β€œfalse”></xref>. Example:

GetValue()

Returns: CRMScript.Global.String - Return value, may be blank. Example:

GetVersionId()

Returns: CRMScript.Global.String - The document plugin’s version id that uniquely identifies one version of a document.
If versioning is not supported, this will be blank. When versioning is supported, blank values imply the latest checked-in version.
Example:

SetAdditionalInfo(String)

Returns: CRMScript.Global.Void
This member is ignored for return types None, Message and SoProtocol. It can be used to pass execution-dependent information to the code that handles CustomGui and Other.
Example:

SetExternalReference(String)

Returns: CRMScript.Global.Void
Stored in the externalReference field of the document table
Example:

SetSuccess(Bool)

Returns: CRMScript.Global.Void Example:

SetType(Integer)

Returns: CRMScript.Global.Void Example:

SetValue(String)

Returns: CRMScript.Global.Void Example:

SetVersionId(String)

Returns: CRMScript.Global.Void
If versioning is not supported, this will be blank. When versioning is supported, blank values imply the latest checked-in version.
Example: