Skip to main content
ArchiveList functions of all kinds.

Constructors

NSArchiveAgent()

ArchiveList functions of all kinds.

Methods

CreateDefaultArchiveListResult()

Sets default values into a new NSArchiveListResult.
Returns: CRMScript.NetServer.NSArchiveListResult - A new NSArchiveListResult with default values.
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance.
Example:

ExportArchive(String,String,String[],String[],String,String[],Integer)

Exports the target archive to a downloadable format.
Returns: CRMScript.NetServer.NSExportArchiveResult

GetActivityFilter()

Gets activity filter for the specified list.
Returns: CRMScript.NetServer.NSActivityFilter - The activity filter for the specified list. Example:

GetArchiveConfiguration(String,String)

Gets the configuration for one archive. The configuration is keyed by a combination of archive provider name and gui name.
Returns: CRMScript.NetServer.NSArchiveConfiguration Example:

GetArchiveConfigurationV2(String,String,String,String)

Gets the configuration for one archive. The configuration is keyed by a combination of archive provider name (plus optional context), gui name, and optional table binding.
Returns: CRMScript.NetServer.NSArchiveConfiguration Example:

GetArchiveConfigurationWithContext(String,String,String)

Gets the configuration for one archive, with context parameter. The configuration is keyed by a combination of archive provider name and gui name.
Returns: CRMScript.NetServer.NSArchiveConfiguration Example:

GetArchiveList(String,String,String[],Integer,Integer)

Gets a page of data for an archive.
Returns: CRMScript.NetServer.NSArchiveListItem[] - The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected. Example:

GetArchiveList2(String,String,String,String,String,Integer,Integer)

Gets a page of data for an archive using a restriction string.
Returns: CRMScript.NetServer.NSArchiveListItem[] - The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected. Example:

GetArchiveListByColumns(String,String[],String[],Integer,Integer)

Gets a page of results for an archive list, explicitly specifying the restrictions, orderby and chosen columns.
Returns: CRMScript.NetServer.NSArchiveListItem[] Example:

GetArchiveListByColumns2(String,String,String,String,String,Integer,Integer)

Gets a page of results for an archive list, explicitly specifying the restrictions as a string, orderby and chosen columns.
Returns: CRMScript.NetServer.NSArchiveListItem[] Example:

GetArchiveListByColumnsWithContext(String,String[],String[],Integer,Integer,String)

Gets a page of results for an archive list with context parameter, explicitly specifying the restrictions, orderby and chosen columns.
Returns: CRMScript.NetServer.NSArchiveListItem[] Example:

GetArchiveListByColumnsWithContext2(String,String,String,String,String,Integer,Integer,String)

Gets a page of results for an archive list with context parameter, explicitly specifying the restrictions as a string, orderby and chosen columns.
Returns: CRMScript.NetServer.NSArchiveListItem[] Example:

GetArchiveListByColumnsWithHeader(String,String[],String[],Integer,Integer,String)

Gets a page of results for an archive list, explicitly specifying the restrictions, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
Returns: CRMScript.NetServer.NSArchiveListResult Example:

GetArchiveListByColumnsWithHeader2(String,String,String,String,String,Integer,Integer,String)

Gets a page of results for an archive list, explicitly specifying the restrictions as strings, orderby and chosen columns; as well as a name/value string formatted set of options.
Returns: CRMScript.NetServer.NSArchiveListResult - Includes a header that has various extra information, in addition to the actual rows. Example:

GetArchiveListByColumnsWithHeaderWithContext(String,String[],String[],Integer,Integer,String,String)

Gets a page of results for an archive list, with context parameter, explicitly specifying the restrictions, orderby and chosen columns; as well as a name/value string formatted set of options.
Returns: CRMScript.NetServer.NSArchiveListResult - Includes a header that has various extra information, in addition to the actual rows. Example:

GetArchiveListByColumnsWithHeaderWithContext2(String,String,String,String,String,Integer,Integer,String,String)

Gets a page of results for an archive list, with context parameter, explicitly specifying the restrictions as strings, orderby and chosen columns; as well as a name/value string formatted set of options.
Returns: CRMScript.NetServer.NSArchiveListResult - Includes a header that has various extra information, in addition to the actual rows. Example:

GetArchiveListWithContext(String,String,String[],Integer,Integer,String)

Gets a page of data for an archive, with context parameter. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
Returns: CRMScript.NetServer.NSArchiveListItem[] Example:

GetArchiveListWithContext2(String,String,String,String,String,Integer,Integer,String)

Gets a page of data for an archive using restrictions as strings, with context parameter.
Returns: CRMScript.NetServer.NSArchiveListItem[] - The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected. Example:

GetAvailableColumns(String,String)

Returns list of all columns supported by an archive provider. See also <xref href=“CRMScript.NetServer.NSArchiveAgent.GetArchiveConfiguration(String,String)” data-throw-if-not-resolved=“false”></xref>.
Returns: CRMScript.NetServer.NSArchiveColumnInfo[] Example:

GetAvailableEntities(String,String)

Returns list of all entities supported by an archive provider. See also <xref href=“CRMScript.NetServer.NSArchiveAgent.GetArchiveConfiguration(String,String)” data-throw-if-not-resolved=“false”></xref>.
Returns: CRMScript.NetServer.NSMDOListItem[] Example:

GetGroupAssociateIds(Integer[])

Returns the associate IDs that belongs to the given groups.
Returns: CRMScript.Global.Integer[] - The associate IDs. Example:

GetProviderNames()

Returns list of all archive provider names.
Returns: CRMScript.Global.String[] - Array of all archive provider names. Example:

SetActivityFilter(NSActivityFilter)

Sets activity filter for the specified list.
Returns: CRMScript.Global.Void

SetChosenColumns(String,String,String[])

Sets the currently chosen columns for the given gui name/provider name combination.
Returns: CRMScript.Global.Void
This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveColumns: plus the archive provider name and gui name as its additionalInfo.

SetChosenColumnsV2(String,String,String,String,String[])

Sets the currently chosen columns for the given gui name/provider name combination.
Returns: CRMScript.Global.Void
This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveColumns: plus the archive provider name and gui name as its additionalInfo.

SetChosenEntities(String,String,String[])

Sets the currently chosen entities for the given gui name/provider name combination.
Returns: CRMScript.Global.Void
This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveEntities: plus the archive provider name and gui name as its additionalInfo.

SetChosenEntitiesV2(String,String,String,String,String[])

Sets the currently chosen entities for the given gui name/provider name combination.
Returns: CRMScript.Global.Void
This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveEntities: plus the archive provider name and gui name as its additionalInfo.

SetColumnWidths(String,String[])

Sets the column widths for the given set of columns and GUI name.
Returns: CRMScript.Global.Void

SetColumnWidthsV2(String,String,String,String,String[])

Sets the column widths for the given set of columns and GUI name.
Returns: CRMScript.Global.Void