Unify and manage your data

Configuring Dependent Lookups

This functionality allows you to set up a dependency between attributes with lookups.

Dependent lookups are used when the value of one attribute (field) depends on the value selected in another attribute. Configuring dependent lookups helps in showing only relevant lookup values based on prior selections. You can configure the attributes within: Entity Types, Group Types, Relation Types, Graph Types, and Interaction Types. For a full reference of attribute properties used in this configuration, see Attributes configuration

Note: This is a legacy (MDM) lookup configuration approach. It is considered outdated and has been replaced by RDM-based lookup management.

How Dependent Lookups Work in L3 Configuration

To establish a dependency between attributes, you need to define the dependentLookupAttributes property in the attribute configuration.
  PUT {{MDMUrl}}/api/{{tenantName}}/configuration
{
                            "label": "Category",
                            "name": "Category",
                            "description": "Category",
                            "type": "String",
                            "hidden": false,
                            "important": false,
                            "system": false,
                            "required": true,
                            "faceted": true,
                            "searchable": true,
                            "attributeOrdering": {
                                "orderingStrategy": "LUD"
                            },
                            "uri": "configuration/entityTypes/Company/attributes/McoType/attributes/Category",
                            "lookupCode": "rdm/lookupTypes/LKUP_IMS_MCO_CATEGORY",
                            "dependentLookupAttributes": [
                                "configuration/entityTypes/Company/attributes/McoType/attributes/CompanyType"
                            ],
                            "skipInDataAccess": false
                        },
                        {
                            "label": "Type",
                            "name": "CompanyType",
                            "description": "Type",
                            "type": "String",
                            "hidden": false,
                            "important": false,
                            "system": false,
                            "required": true,
                            "faceted": true,
                            "searchable": true,
                            "attributeOrdering": {
                                "orderingStrategy": "LUD"
                            },
                            "uri": "configuration/entityTypes/Company/attributes/McoType/attributes/CompanyType",
                            "lookupCode": "rdm/lookupTypes/LKUP_IMS_MCO_TYPE",
                            "dependentLookupAttributes": [
                                "configuration/entityTypes/Company/attributes/McoType/attributes/SubType"
                            ],
                            "skipInDataAccess": false
                        },
                        {
                            "label": "Subtype",
                            "name": "SubType",
                            "description": "Subtype",
                            "type": "String",
                            "hidden": false,
                            "important": false,
                            "system": false,
                            "faceted": true,
                            "searchable": true,
                            "attributeOrdering": {
                                "orderingStrategy": "LUD"
                            },
                            "uri": "configuration/entityTypes/Company/attributes/McoType/attributes/SubType",
                            "lookupCode": "rdm/lookupTypes/LKUP_IMS_MCO_SUBTYPE",
                            "skipInDataAccess": false
                        },