overrideBusinessServiceCategories

This method defines the list of business service categories that are available to a user when starting a business service. This function is called once while initializing the list of available business services.

A list of all available categories is provided as input to this method. The method may be customized to output an altered list by removing specific categories, making them, and all the business services within them, unavailable for selection.

Syntax

classProto.overrideBusinessServiceCategories = function(oValue, oContext)

Parameters

  • oValue - (Object) An object containing the available business service categories:
    • oValue. availableCategories [] - (Array of objects) Each object has the following properties that identify an available business service category.
    • categoryName - (string read-only) Name of the business service category.
    • categoryDescription - (string) Description of the business service category.
  • oContext - (Object) An object that provides information about the list being modified with the following properties:
    • oContext.userName - (string read-only) The name of the logged-in user.
    • oContext.userGuid - (string read-only) A unique identifier of the logged-in user.

Returns

The modified oValue object, or null if no changes are to be made.