Table of Contents

Creating a new module and definition

  1. In the Automation app in DataMiner Cube, run the DOM Editor script. You can find this script in the folder DOM\DOM Main scripts.

    The script window will show a list of the available modules, as well as several buttons.

  2. Below the list of modules, click the New button.

    DOM Editor starting window

  3. In the Module ID box, specify the name of the module you want to add. The name must be in lower case only.

    DOM Editor: new module window

  4. Click Create.

    The script will show the starting window again, and your new module will be added to the list of modules.

  5. Next to your module, click Edit.

    A window with four buttons will be displayed.

    DOM Editor: edit module window

  6. Create the section definitions for your module:

    1. Click Section Definitions, and then click New.

    2. In the Name box, fill in the name of the section.

      DOM Editor: creating a new section

    3. Click Apply.

    4. Add fields to the section:

      1. Click Field Descriptors, and click the + button.

      2. Fill in the necessary information for the field and click Back.

        DOM Editor: configuring a field

      3. Click Field Descriptors again and repeat the steps above until you have added all the necessary fields.

      Tip

      For more information on the field descriptor configuration, see FieldDescriptor.

    5. When you have added all fields, click Apply and OK to save the section definition.

  7. To add another section definition, click New again and repeat the steps detailed above.

  8. When you have configured and saved all section definitions you wanted to add, click Back to return to the window with the four buttons.

  9. Create a DOM definition linked to one or more section definitions:

    1. Click Definitions, and then click New.

    2. In the Name box, fill in the name of the definition.

      DOM Editor: creating a new definition

    3. Click Section Definition Links, and click the + button.

      The available sections will be added.

    4. Click the X button next to any sections you do not want to link the definition to.

    5. Click Back, Apply, and OK to save the definition

    Tip

    If, for example, you have created a "ticket" section definition, you can link an "IT" DOM definition to this to represent your IT department. If you then want to create tickets for a different department later, you can create a new definition using the same module and reuse much of the configuration this way.

  10. Click Back to return to the window with the four buttons.

  11. Configure permissions for your module:

    1. Click Manager Settings.

    2. In the View Permission, Create/Update Instance Permission, Delete Instance Permission, and Configure Permission boxes, select AccessElement.

    3. Click Apply and OK.

Tip

You can check what your data model looks like in a DataMiner low-code app. For more information on how to create such an app, refer to this demo on DataMiner Dojo. Prior to DataMiner 10.3.6/10.4.0, this requires the DOMManager soft-launch option.