An instance of this class represents information about one version of one document.
Constructors
NSVersionInfo()
Initializes a new instance of the NSVersionInfo class.
Methods
GetCheckedInByAssociateId()
Returns: CRMScript.Global.Integer - Associate ID of the user who performed the check-in.
Example:
GetCheckedInByName()
Returns: CRMScript.Global.String - Name (nicely formatted) of the user/person who performed the check-in.
Example:
GetCheckedInDate()
Returns: CRMScript.Global.DateTime - The date that this version was checked in and became official.
Example:
GetDescription()
Returns: CRMScript.Global.String - Arbitrary description string.
Example:
GetDisplayText()
Returns: CRMScript.Global.String - A short description, suitable for display in a popup menu or dropdown list of versions.
Example:
GetDocumentId()
Returns: CRMScript.Global.Integer - The document ID that uniquely identifies the document within the SuperOffice database.
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:
Returns: CRMScript.Global.String[] - Private metadata, owned by the document plugin.
This set of metadata is related directly to the version that this VersioNinfo structure describes; metadata related to the document as a whole is retrieved using the SuperOffice.CRM.Documents.IDocumentPlugin2.LoadMetaData method. The string should be formatted like a query string, i.e., name1=value1&name2=value2…* this format, instead of a string/string dictionary avoids serialization problems, even though it is somewhat less efficient.
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:
SetCheckedInByAssociateId(Integer)
Returns: CRMScript.Global.Void
Example:
SetCheckedInByName(String)
Returns: CRMScript.Global.Void
Example:
SetCheckedInDate(DateTime)
Sets the date that this version was checked inThe date that this version was checked in and became official
Returns: CRMScript.Global.Void
Example:
SetDescription(String)
Returns: CRMScript.Global.Void
Example:
SetDisplayText(String)
Returns: CRMScript.Global.Void
Example:
SetDocumentId(Integer)
Returns: CRMScript.Global.Void
Example:
SetExternalReference(String)
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
This set of metadata is related directly to the version that this VersioNinfo structure describes; metadata related to the document as a whole is retrieved using the SuperOffice.CRM.Documents.IDocumentPlugin2.LoadMetaData method. The string should be formatted like a query string, i.e., name1=value1&name2=value2…* this format, instead of a string/string dictionary avoids serialization problems, even though it is somewhat less efficient
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: