Skip to main content

Constructors

NSSelectionEntity()

Initializes a new instance of the NSSelectionEntity class.

Methods

GetAssociate()

Returns: CRMScript.NetServer.NSAssociate - Owner of the selection. Example:

GetChartKey()

Returns: CRMScript.Global.String - ID/key of the last-used chart tile on this selection. Example:

GetCompanyUnique()

Returns: CRMScript.Global.Bool - Filter out duplicate members based on company? Example:

GetCompleted()

Returns: CRMScript.Global.Bool - The Completed state. Example:

GetCreatedBy()

Returns: CRMScript.NetServer.NSAssociate - Who created the selection. Example:

GetCreatedDate()

Returns: CRMScript.Global.DateTime - Registered when. Example:

GetDescription()

Returns: CRMScript.Global.String - The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases. Example:

GetGroupIdx()

Returns: CRMScript.Global.Integer - Original primary user group of associate. Example:

GetIncludePerson()

Returns: CRMScript.Global.Integer - 0 = Include first person, 1 = Include all persons, 2 = Include no persons. Example:

GetLastLoaded()

Returns: CRMScript.Global.DateTime - The date/time this selection was last loaded (selectionentity fetched). Example:

GetLastLoadedBy()

Returns: CRMScript.Global.Integer - Who last loaded this selection. Example:

GetLastLoadedByAssociate()

Returns: CRMScript.NetServer.NSAssociate - NSAssociate that last looked at the selection members; only date (not time) is valid. Example:

GetLastMembershipChange()

Returns: CRMScript.Global.DateTime - The date/time the membership the selection last changed. Dynamic - change of criteria; Static - add/remove members; Combined - change of algorithm. Example:

GetLastMembershipChangeBy()

Returns: CRMScript.Global.Integer - Who last changed the membership. Example:

GetLastMembershipChangeByAssociate()

Returns: CRMScript.NetServer.NSAssociate - Associate that last changed the selection membership (static members, dynamic criteria, combined parameters); only date (not time) is valid. Example:

GetLeftSelectionId()

LeftSelectionId is used in combination with RightSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.
Returns: CRMScript.Global.Integer Example:

GetMailingsProviderName()

Returns: CRMScript.Global.String - The name of the provider for the Mailings tab, if relevant; this string will contain resource references. Example:

GetMainHeading()

Returns: CRMScript.Global.String - ‘Static selection of Companies’, or whatever else is appropriate, made by combining text resources for the type and the entity (plural form); this string will contain resource references Example:

GetMainProviderName()

Returns: CRMScript.Global.String - The name of the Archive Provider that will deliver the content of the archive* the actual entity rows. Example:

GetMemberCount()

Returns: CRMScript.Global.Integer - How many selection members (for progress bar calculations)* estimate, -1 (or 4294967295) means we don’t know. Example:

GetMemberTabHeading()

Returns: CRMScript.Global.String - ‘Companies’, or whatever else is appropriate* the plural form of the entity name; this string will contain resource references Example:

GetName()

Returns: CRMScript.Global.String - Name of selection, free-text indexed. Example:

GetPostit()

Returns: CRMScript.Global.String - The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases. Example:

GetPostitTextId()

Returns: CRMScript.Global.Integer - Postit text record ID. Example:

GetRightSelectionId()

RightSelectionId is used in combination with LeftSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.
Returns: CRMScript.Global.Integer Example:

GetSelectionCategory()

Returns: CRMScript.NetServer.NSSelectionCategory Example:

GetSelectionId()

Primary key
Returns: CRMScript.Global.Integer - Selection category type (list item). Example:

GetSelectionType()

Returns: CRMScript.Global.Integer - Static/Dynamic/Combined? See <xref href=“CRMScript.NetServer.SelectionType” data-throw-if-not-resolved=“false”></xref> Example:

GetSelectionUnionType()

Returns: CRMScript.Global.Integer - How to combine the two selections when SelectionType = Combined. See <xref href=“CRMScript.NetServer.SelectionUnionType” data-throw-if-not-resolved=“false”></xref>. Example:

GetShadowProviderName()

Returns: CRMScript.Global.String - The name, if relevant, of the Archive Provider that will deliver the Shadow rows. contact/person rows related to the actual entity. Can be blank, indicating that there is no shadow archive. Example:

GetSoundEx()

Returns: CRMScript.Global.String - What the name sounds like, for duplicate detection. Example:

GetSource()

Returns: CRMScript.Global.Integer - How did we get this selection? For future integration needs. Example:

GetTargetTableName()

Returns: CRMScript.Global.String - TargetTableName contains the name of the table in lowercase. defines the type of selection members this selection contains. e.g. ‘contact’, or ‘project’ or ‘sale’ Example:

GetTargetTableNumber()

Returns: CRMScript.Global.Integer - TargetTableNumber defines the type of selection members this selection contains. e.g. the table number for ‘contact’, or ‘project’ or ‘sale’ Example:

GetTextId()

Returns: CRMScript.Global.Integer - Description text record Id. Example:

GetUpdatedBy()

Returns: CRMScript.NetServer.NSAssociate - Who last modified the selection. Example:

GetUpdatedCount()

Returns: CRMScript.Global.Integer - Number of updates made to this record. Example:

GetUpdatedDate()

Returns: CRMScript.Global.DateTime - Last updated when. Example:

GetVisibility()

Obsolete, but still maintained de-normalization of visiblefor
Returns: CRMScript.Global.Integer Example:

GetVisibleFor()

Returns the user groups and/or users the SelectionEntity item is visible for.
Returns: CRMScript.NetServer.NSVisibleFor[] Example:

SetAssociate(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetChartKey(String)

Returns: CRMScript.Global.Void Example:

SetCompanyUnique(Bool)

Returns: CRMScript.Global.Void Example:

SetCompleted(Bool)

Returns: CRMScript.Global.Void Example:

SetCreatedBy(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetCreatedDate(DateTime)

Returns: CRMScript.Global.Void Example:

SetDescription(String)

Returns: CRMScript.Global.Void Example:

SetGroupIdx(Integer)

Returns: CRMScript.Global.Void Example:

SetIncludePerson(Integer)

Returns: CRMScript.Global.Void Example:

SetLastLoaded(DateTime)

Returns: CRMScript.Global.Void Example:

SetLastLoadedBy(Integer)

Returns: CRMScript.Global.Void Example:

SetLastLoadedByAssociate(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetLastMembershipChange(DateTime)

Returns: CRMScript.Global.Void Example:

SetLastMembershipChangeBy(Integer)

Returns: CRMScript.Global.Void Example:

SetLastMembershipChangeByAssociate(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetLeftSelectionId(Integer)

LeftSelectionId is used in combination with RightSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.
Returns: CRMScript.Global.Void Example:

SetMailingsProviderName(String)

Returns: CRMScript.Global.Void Example:

SetMainHeading(String)

Returns: CRMScript.Global.Void Example:

SetMainProviderName(String)

Returns: CRMScript.Global.Void Example:

SetMemberCount(Integer)

Returns: CRMScript.Global.Void Example:

SetMemberTabHeading(String)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetPostit(String)

Returns: CRMScript.Global.Void Example:

SetPostitTextId(Integer)

Returns: CRMScript.Global.Void Example:

SetRightSelectionId(Integer)

RightSelectionId is used in combination with LeftSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.
Returns: CRMScript.Global.Void Example:

SetSelectionCategory(NSSelectionCategory)

Returns: CRMScript.Global.Void Example:

SetSelectionId(Integer)

Returns: CRMScript.Global.Void Example:

SetSelectionType(Integer)

Returns: CRMScript.Global.Void Example:

SetSelectionUnionType(Integer)

Returns: CRMScript.Global.Void Example:

SetShadowProviderName(String)

Returns: CRMScript.Global.Void Example:

SetSoundEx(String)

Returns: CRMScript.Global.Void Example:

SetSource(Integer)

Returns: CRMScript.Global.Void Example:

SetTargetTableName(String)

Returns: CRMScript.Global.Void Example:

SetTargetTableNumber(Integer)

Returns: CRMScript.Global.Void Example:

SetTextId(Integer)

Returns: CRMScript.Global.Void Example:

SetUpdatedBy(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetUpdatedCount(Integer)

Returns: CRMScript.Global.Void Example:

SetUpdatedDate(DateTime)

Returns: CRMScript.Global.Void Example:

SetVisibility(Integer)

Obsolete, but still maintained de-normalization of visiblefor
Returns: CRMScript.Global.Void Example:

SetVisibleFor(NSVisibleFor[])

Sets the user-groups and/or users the SelectionEntity item is visible for.
Returns: CRMScript.Global.Void Example: