Skip to main content
Skip table of contents

Cascading Dropdown Lists

Overview

Cascading comboboxes allow users to select values in a hierarchical manner, where the options in one dropdown depend on the selection in another.

The DCM provides a no-code approach to implementing cascading comboboxes, eliminating the need for JavaScript or SQL.

Key Principles

To build cascading comboboxes without coding, follow these steps:
Use a generic data model to define related objects.
Reuse related objects as reference fields in other data models (one-to-many relationships).
Enable "Parent Reference" properties in forms and search filters.

Step 1: Create a Generic Data Model

  1. Define a Data Model containing related objects.

  2. Set these objects as Reference Objects (one-to-many relationship).

  3. The Parent ID/Code can be stored as an Integer or Text.

  4. Deploy the model.

📌 Example: A Car Brand model with reference objects for different Car Models.

image-20250207-140841.png

or

image-20250209-203711.png

See Creating a Generic Model

Reference Objects

Step 2: Add Data to Reference Objects

Once the model is deployed, add runtime data for the related objects. This ensures that cascading dependencies will have meaningful values.

image-20250209-204608.png

Step 3: Use Reference Objects in Other Models

  1. Open the target data model where cascading should work.

  2. Add the previously created reference objects as fields.

  3. You can include multiple parent references if needed (e.g., Concern1, Concern2).

  4. Deploy the updated model.

📌 Example: In a Product data model, you can reference both Brand and Model as related fields.

image-20250209-204506.png

Step 4: Enable Parent Reference in the Form Builder

  1. Navigate to the Form Builder. See MDM Forms

  2. For each related combobox, enable the "Parent Reference" property.

  3. If this option is not set, the dropdown will not function as a cascading combo.

📌 Example: A "Model" combobox should be linked to the selected "Brand".

image-20250209-204855.png

How it looks on Create Case form:

image-20250209-205027.png

Step 5: Enable Parent Reference in the Search Builder

  1. Open the Search Builder. See MDM Search Form

  2. Enable "Parent Reference" for relevant search filters.

  3. This ensures that searching dynamically filters related results.

📌 Example: A "Concern" filter should be linked to the selected "Template".

image-20250209-205533.png
image-20250209-205639.png

Limitations & Considerations

🔹 Reference objects must follow a one-to-many relationship.
🔹 The parent object must be included in the current model as a reference. If missing, the child dropdown will act as a regular combobox without cascading behavior.

Conclusion

By following this approach, you can implement cascading comboboxes in DCM without any coding. This method ensures scalability, consistency, and a user-friendly experience across forms and search filters.

JavaScript errors detected

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

If this problem persists, please contact our support.