Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 

On this page:

System Category Object Formats

JSON Format
 {
    "SysCatID": "1",
    "Desc" : {
        "en" : "English description",
        "es" : "Spanish description"
    },
    "FlexForms" : [
        "${FlexFormID}",
        "${FlexFormID}"
    ],
    "SysActs" : [
        {
            "SysActID" : "",
            "IsActive" : true,
            "Desc" : {
                "en" : "English description",
                "es" : "Spanish description"
            },
            "FlexForms" : [
                "${FlexFormID}",
                "${FlexFormID}"
            ]
        }
    ],
    "SubCats" : []
}

System Category Object Properties

(info) Required properties are in bold.

PropertyTypeDescription
Desccollection

A collection of localized text descriptions for the code.

Each key/pair combination defines a single localized language description. The property name specifies the language code and the value of the property is the corresponding localized description for the language.

FlexDefscollection

This property is being deprecated. Please use the new Forms property instead.

This object contains a collection of flex attribute definitions that are associated with the system category. The mobile application uses this information to dynamically change the user interface at the appropriate time.

Each object within the collection defines a grouping of flex attributes. This grouping is used by the mobile application when rending the dynamic input fields. The collection can contain one or more groupings. 

  • Flex attributes defined at the system category level will also apply to all attributes of the flex attribute unless overridden at the attribute level (see below).
  • The order of the groups and flex attributes within the group represent the order they will be presented within the mobile application.
  • Not all system categories support flex attributes. Please review the specific system category definition to determine if flex attributes are supported.
Formscollection

Contains a collection for FormIDs associated with the system category.

Not all system categories support rending Flex Forms. Please review the specific system category definition to determine if Flex Forms are supported.

IsActiveboolean

Identifies if the system category is enabled. This field is used to disable an old value so it can no longer be used. However, it is still defined in the system so the application can display the correct information on historical records and reports.

Valid values are:

  • true - The system category is enabled. This is default value is the property is not specified.
  • false - The system category is disabled.
SysActscollection

Contains a collection of system category activity definitions.

PropertyValueDescription
Desccollection

A collection of localized text descriptions for the code.

Each key/pair combination defines a single localized language description. The property name specifies the language code and the value of the property is the corresponding localized description for the language.

FlexDefscollection

Defines a collection of flex attributes assigned to a specific attribute. If the parent category also defines flex attributes, then this definition will act as a complete override.

The definition of this object is the same as the parent above.

IsActiveboolean

Identifies if the activity is enabled. This field is used to disable an old value so it can no longer be used. However, it is still defined in the system so the application can display the correct information on historical records and reports.

Valid values are:

  • true - The activity is enabled. This is default value is the property is not specified.
  • false - The activity is disabled.
RefCode (warning) This field has been deprecated and should no longer be used.
SysActIDstringIdentifies the unique activity ID.
SysCatIDstringSpecifies the unique system category ID. All top level system category IDs are defined by ServiceMobility and can not be changed.
SubCatscollection

Collection of sub-categories. The SubCats collection follows the exact same format as the parent definition including additional sub-categories.

Not all system categories support sub-categories. Please refer to the specific system category documentation for complete details.

  • No labels