Skip to main content
Skip table of contents

Adding a Dictionary to a Data Model

In addition to the large range of standard fields that the DCM provides for Case, Task, and Party Types, there is also the ability to add new fields of many types. These ‘Custom Fields’ allow a DCM solution to be customized for the unique requirements of each business. For fields that behave as drop-down lists, the Dictionary feature lets you quickly define the various lists of values that a caseworker can use for drop-down field selection.

To add a custom field (or Word) to the DCM solution, a category for that field/word must be created first. Visit the article Adding Dictionaries to learn how to add categories.


Steps

  1. On the top right, navigate to 
     → <<your solution>>
  2. On the left, navigate to 
     → Setup
  3. Navigate to Case Setup → Case Types (1).
  4. Open the Data Model.
  5. Add a Dictionary Word to the Business Object from the System Reference Objects list at the left.

  6. Select the Dictionary object (1), and change the Name. In our example, Employment Type (2).
  7. Select the Category from the dropdown list (3). In our example, Employment Types. If you don’t see the dictionary, click the refresh whirlpool button.
  8. Save the changes.
  9. Check the Status Report and notice that we need to deploy to implement the new relationship with the Dictionary for Employment Type category.
  10. After deployment finishes without errors, go back to Data Models.
  11. Open the data model.
  12. Expand the Business Object fields list and add the Employment Type dictionary field.
  13. Do a Preview. Check that you can see the options in the Employment Type dropdown list.
  14. Close the Form Preview
  15. Save your changes.
  16. Select the Employment Type field and change the Renderer to Radio Group, and the Position to Horizontal.
  17. Do a Preview to see how the dictionary values are displayed now.
  18. Save the changes.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.