Dictionaries

Dictionaries enable you to efficiently manage business-related information, such as mobile numbers, state/province and city codes, and supplier regions. Dictionaries can be displayed in list and tree modes.

Adding a Dictionary

  1. Log in to the administrator portal.
  2. In the top navigation pane, choose Settings > Dictionaries.

    Figure 1 Dictionaries

  3. On the Dictionaries page, click + at the bottom of the page.
  4. Enter the dictionary information and click Save.

    Table 1 Adding a dictionary

    Parameter

    Description

    * Dictionary Code

    The dictionary code must be unique. To facilitate dictionary management, set this parameter by following a unified rule.

    * Dictionary Name

    The dictionary name must be unique.

    Tree Structure

    Indicates whether to display the dictionary in list or tree mode. If you select this option, the dictionary is displayed in tree mode. Otherwise, the dictionary is displayed in list mode.

    Description

    Describes the usage and application scenarios of the dictionary.

  5. Select a dictionary in the left pane.

    • Dictionary items are subsets of a dictionary. Create a dictionary before adding dictionary items.
    • Only dictionaries for which you have configured dictionary items can be used when you add custom user attributes.

  6. Click Add Dictionary Item.

    Figure 2 Adding a dictionary item

  7. On the Add Dictionary Item page, enter the dictionary item information.

    Table 2 Adding a dictionary item

    Parameter

    Description

    * Dictionary Name

    Parent node of the dictionary item. This parameter is not editable.

    * Dictionary Item Code

    Unique identifier of the dictionary item. To facilitate dictionary management, set this parameter by following a unified rule.

    * Dictionary Item Name

    Name of the dictionary item. Different dictionary items can have the same name.

    Description

    Describes the usage and application scenarios of the dictionary item.

  8. Click Save.

Modifying a Dictionary

If the user attribute associated with a dictionary changes, you can modify the dictionary to adapt for the change.

  • Modifying a dictionary
    On the Dictionaries page, select the dictionary you want to modify, and click Modify Dictionary. Modify the dictionary name and description, and click Save.

    The dictionary code and whether to display the dictionary in tree mode cannot be modified.

    Figure 3 Modifying a dictionary
  • Modifying a dictionary item
    Click Modify in the row that contains the target dictionary item, modify the dictionary item name and remarks, and click Save.
    Figure 4 Modifying a dictionary item

Deleting a Dictionary

On the Dictionaries page, select the dictionary you want to delete, click Delete Dictionary, and click OK.

Before you delete a dictionary, ensure that it is not associated with any user attributes.

Figure 5 Deleting a dictionary