Skip to main content
The Pocket Service. The service implements pocket specific stuff, like consolidated post-login stuff.

Constructors

NSPocketStartupData()

Initializes a new instance of the NSPocketStartupData class.

Methods

GetBaseLocaleTimeZoneData()

Returns: CRMScript.NetServer.NSTimeZoneData Example:

GetCustomData()

Returns: CRMScript.Global.String - Custom data for Pocket, in JSON format. Example:

GetIsPushNotificationEnabled()

Returns: CRMScript.Global.Bool - Is push notification configured and enabled in Netserver. Example:

GetNotificationsCount()

Returns: CRMScript.Global.Integer - Number of new invitations. Example:

GetOverdueSalesCount()

Returns: CRMScript.Global.Integer - Number of overdue sales for current user. Example:

GetPhoneLocaleTimeZoneData()

Returns: CRMScript.NetServer.NSTimeZoneData Example:

GetPocketPreferences()

Returns: CRMScript.NetServer.NSPreference[] - All Pocket specific preferences, including WebPanels defined by the user in Pocket. Example:

GetSystemWebPanels()

Returns: CRMScript.NetServer.NSWebPanelEntity[] - Web panels defined in Admin client, set to be shown in Pocket client. Example:

GetTableRights()

Returns: CRMScript.Global.Integer[] - List of table rights for logged in user, in the same order as the Tables array parameter. See <xref href=“CRMScript.NetServer.ETableRight” data-throw-if-not-resolved=“false”></xref>. Example:

SetBaseLocaleTimeZoneData(NSTimeZoneData)

Returns: CRMScript.Global.Void Example:

SetCustomData(String)

Returns: CRMScript.Global.Void Example:

SetIsPushNotificationEnabled(Bool)

Returns: CRMScript.Global.Void Example:

SetNotificationsCount(Integer)

Returns: CRMScript.Global.Void Example:

SetOverdueSalesCount(Integer)

Returns: CRMScript.Global.Void Example:

SetPhoneLocaleTimeZoneData(NSTimeZoneData)

Returns: CRMScript.Global.Void Example:

SetPocketPreferences(NSPreference[])

Returns: CRMScript.Global.Void Example:

SetSystemWebPanels(NSWebPanelEntity[])

Returns: CRMScript.Global.Void Example:

SetTableRights(Integer[])

Returns: CRMScript.Global.Void Example: