Skip to main content

Constructors

NSArchiveListItem()

Initializes a new instance of the NSArchiveListItem class.

Methods

GetColumnData()

Returns: CRMScript.Native.Map - Map of column name - column data items.
Each column data item contains a display value, a tooltip hint, a link hint, and an orderby value. The display value is encoded by the CultureDataFormatter and can be decoded / localized by that class; all other values are optional.Tooltip hints can be passed to the TooltipProvider (Tooltip service) to be translated into an actual tooltip.
Example:

GetEntityName()

Returns: CRMScript.Global.String - The entity name of the NSArchiveListItem.
An ArchiveList may contain rows from different entities.
Example:

GetLinkHint()

Returns: CRMScript.Global.String - Link hint for the row, indicating things like navigation links that can be presented as clickable hyperlinks. Example:

GetPrimaryKey()

Returns: CRMScript.Global.Integer - The primary key for the row. Example:

GetStyleHint()

Returns: CRMScript.Global.String - Style hint for the row, for instance ‘retired’ for associates or ‘private’ for appointments.
Presentation layers can interpret the style hints as they see fit.
Example:

SetColumnData(Map)

Each column data item contains a display value, a tooltip hint, a link hint, and an ORDERBY value. The display value is encoded by the CultureDataFormatter and can be decoded or localized by that class. All other values are optional. Tooltip hints can be passed to the TooltipProvider (Tooltip service) to be translated into an actual tooltip.
Returns: CRMScript.Global.Void Example:

SetEntityName(String)

Returns: CRMScript.Global.Void
An ArchiveList may contain rows from different entities.
Example:

SetLinkHint(String)

Returns: CRMScript.Global.Void Example:

SetPrimaryKey(Integer)

Returns: CRMScript.Global.Void Example:

SetStyleHint(String)

Returns: CRMScript.Global.Void
Presentation layers can interpret the style hints as they see fit.
Example: