Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)

Justin T
Tera Contributor

Hello, I am currently creating a catalog item.

 

In this catalog item,

 

I have two fields, titled "Domain", and "Category"

 

Currently, I have these fields setup as Lookup Select Boxes

The table I am using is a custom table, u_software_categories

The "Domain" field is mapped to and should be populated with the values of the Category field on this table.

The "Category" field is mapped to and should be populated with the values of the Subcategory field on this table.

However, the options for "Category" should be dependent on which domain is selected.

 

I have tried various methods for this to no avail. The Category field does not display the associated fields depending on the domain chosen. Is there any resource anyone has or direction of approach I can take to solve this?

I tried various reference qualifiers, catalog client scripts, all to no avail. I am probably configuring the ref qualifiers wrong or something along the sort. I will attach screenshots to show my methodology.

 

JustinT_0-1710297028008.png

 

JustinT_1-1710297068938.png

JustinT_0-1710297627203.png

 

These are my current configurations for the Domain, and Category fields.

 

I am willing to start from scratch if someone has a new directional approach I can use.

 

2 REPLIES 2

Harish KM
Kilo Patron
Kilo Patron

Hello, thanks for the reply.

 

 

I tried following these steps, and I am still running into various issues.
I am attach screenshots here again for reference.

JustinT_0-1710332689539.png

JustinT_1-1710332699487.png



This is how I have these configured
Please note that the fields on the intial table picture sent above, Category, and Subcategory, have values of u_category, and u_subcategory

See below: my results during testing, the category field seems to be copying all of the available domains, rather than display the subcategory options available.

JustinT_2-1710332786214.png

JustinT_3-1710332794838.png