Skip to main content
User interface configuration* XML and other elements such as inter-client URLs.

Constructors

NSConfigurationAgent()

Initializes a new instance of the NSConfigurationAgent class.

Methods

ClearConfigurationCache(String,String,Bool)

Configuration XML may be expensive to build and parse, and are therefore cached to the database. Caching is per application/instance/associate, and can be turned off through the config file. If caching is on, and the configuration is changed, it is necessary to clear the cached configurations from the database, through this call.
Returns: CRMScript.Global.Void
Changes to the externalapplication table require cache invalidation. SoAdmin will do so automatically.
Example:

CreateDefaultDiaryViewEntity()

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

CreateDefaultSystemEventEntity()

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

DeleteDiaryViewEntity(Integer)

Deletes the NSDiaryViewEntity
Returns: CRMScript.Global.Void Example:

DeleteSystemEventEntity(Integer)

Deletes the NSSystemEventEntity
Returns: CRMScript.Global.Void Example:

DeleteWindowPosSize(Integer)

Deletes a window and dialog position and size setting.
Returns: CRMScript.Global.Void

ExistsSystemEvent(String)

Returns: CRMScript.Global.Bool - Is there a system event with the given key? Example:

GetAnyConfiguration(String,String,String,String)

Gets one defined configuration fragment, with full reference resolution and parsing applied.
Returns: CRMScript.Global.String - A configuration fragment, with full reference resolution and parsing applied.
This is essentially the same service as the GetPageConfiguration, except that this service is not locked to objects of type Page.
Example:

GetApplicationConfiguration(String,String)

Returns the application configuration.
Returns: CRMScript.Global.String - XML structure containing the application configuration. A list of pages, with information about the name, main panel and preference mappings of each page. Example:

GetCRMUrl(String,String,Bool)

Returns a valid URL based in the soprotocol provided
Returns: CRMScript.Global.String - URl. Example:

GetCSAuthUrl(String,String,String,String)

Generates a URL to the emarketing module
Returns: CRMScript.Global.String - A valid Service URL composed of the give parameters. Example:

GetCsCgiUrlInternal()

Gets the host name for Service
Returns: CRMScript.Global.String - The host name for where Service is installed. Example:

GetCsProgramUrl(String,String,String,String)

Converts a module name into a Service URL.
Returns: CRMScript.Global.String - A valid Service URL composed of the give parameters. Example:

GetCSRegistryValue(Integer)

Gets a value from the Registry table.
Returns: CRMScript.Global.String - The value of the specified Registry entry. Example:

GetCSWwwFolder()

Gets the www folder for Service
Returns: CRMScript.Global.String - The www folder for Service. Example:

GetCustomerUrl()

Gets the URL for the external access to the customer center
Returns: CRMScript.Global.String - The URL to the customer center, without any actions. Example:

GetDiaryViewEntity(Integer)

Gets an NSDiaryViewEntity object.
Returns: CRMScript.NetServer.NSDiaryViewEntity Example:

GetEmailNumberOfDays()

Returns: CRMScript.Global.Integer - Number of days in the past for which we are fetching email. Example:

GetEMarketingUrl(String)

Returns: CRMScript.Global.String - URl.

GetFilterList(String,String)

Gets the list of filters to be used for processing the configuration data for this application.
Returns: CRMScript.Global.String - XML representing the list of filters and any configuration data they may need. Example:

GetHelpDispatcherUrl()

Gets the GetHelpDispatcherUrl used by the help system.
Returns: CRMScript.Global.String - URL to be used by the help system. Example:

GetMyWindowPosSizes()

Gets the window and dialog position and size settings belonging to the currently logged-on user.
Returns: CRMScript.NetServer.NSWindowPosSize[] - Array of window and dialog position and size settings. Example:

GetObjectMapping(String,String)

Gets the object mappings (what code objects should be instantiated to handle the entities of the client configuration?)
Returns: CRMScript.Global.String - XML containing the object mappings, including assembly and class names. Example:

GetPageConfiguration(String,String,String)

Gets the configuration for one whole web page, including all its panels etc.
Returns: CRMScript.Global.String - XML containing the configuration for the given page, from the page down to the control level.
Totally asynchronous items like menus are not included, but all references are resolved and all special processing is applied.
Example:

GetRefreshedPageConfiguration(String,String,String)

Gets the configuration for one whole web page, including all its panels etc.
Returns: CRMScript.Global.String - XML containing the configuration for the given page, from the page down to the control level.
Totally asynchronous items like menus are not included, but all references are resolved and all special processing is applied. Does not use cache for fetching, but updates the cache with refreshed configuration.
Example:

GetSystemEventEntity(Integer)

Gets an NSSystemEventEntity object.
Returns: CRMScript.NetServer.NSSystemEventEntity Example:

GetWindowPosSize(Integer)

Gets an NSWindowPosSize object.
Returns: CRMScript.NetServer.NSWindowPosSize Example:

GetWindowPosSizeList(Integer[])

Retrieves a list of NSWindowPosSize objects.
Returns: CRMScript.NetServer.NSWindowPosSize[] - Array of window and dialog position and size settings. Example:

GetWindowPosSizesOnAssociateId(Integer)

Gets the window and dialog position and size settings belonging to the specified associate
Returns: CRMScript.NetServer.NSWindowPosSize[] - Array of window and dialog position and size settings. Example:

GetWindowPosSizesOnPersonId(Integer)

Gets the window and dialog position and size settings belonging to the specified person
Returns: CRMScript.NetServer.NSWindowPosSize[] - Array of window and dialog position and size settings. Example:

GetWwwUrl(String)

Gets the default URL used for the logo, from the [NetServices] PageUrl preferencec, with tags substituted.
Returns: CRMScript.Global.String - URL to be used when clicking the logo. Example:

GetWwwUrlForSMWeb()

Returns the URL used for the logo by the SM.web client. Uses urldispatch.aspx.
Returns: CRMScript.Global.String - Link to urldispatch.aspx tagged with [SOSITEURL] Example:

SaveDiaryViewEntity(NSDiaryViewEntity)

Updates the existing NSDiaryViewEntity or creates a new NSDiaryViewEntity if the ID parameter is 0.
Returns: CRMScript.NetServer.NSDiaryViewEntity - New or updated DiaryViewEntity. Example:

SaveSystemEventEntity(NSSystemEventEntity)

Updates the existing NSSystemEventEntity or creates a new NSSystemEventEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSSystemEventEntity - New or updated SystemEventEntity. Example:

SaveWindowPosSize(NSWindowPosSize)

Saves a window and dialog position and size setting.
Returns: CRMScript.NetServer.NSWindowPosSize - The saved item. Example:

SaveWindowPosSizes(NSWindowPosSize[])

Saves a set of window and dialog position and size settings.
Returns: CRMScript.NetServer.NSWindowPosSize[] - The saved items. Example: