- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 10:39 AM
I have 2 fields on a catalog item:
corporate_security_category
corporate_security_subcategory
The subcategory is dependent on category.
I am not able to get the dependent values to work. I am using an advanced reference qualifier with the following:
javascript: 'name=sc_cat_item^element=corporate_security_subcategory^dependent_value=' + current.variables.corporate_security_category;
Example sys_choice record:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 10:56 AM - edited 04-23-2025 10:58 AM
Hello @Scott29 ,
Please add the following in the "Variable attributes" field underneath the Reference qualifier:
ref_qual_elements=corporate_security_category
As per the documentation this is required to get updated values.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 11:08 AM
Hi @Scott29 ,
is variable corporate_security_category is also a reference type?
if yes
change it's type to lookup select box and try
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 11:21 AM - edited 04-23-2025 11:26 AM
Hello @Scott29 ,
Sorry, I did not notice that they are Reference variables. Please change them to Lookup Select Box variables, then it will work.
For the Category variable you would need this reference qualifier, and no "Variable attributes":
name=sc_cat_item^element=corporate_security_category
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 10:56 AM - edited 04-23-2025 10:58 AM
Hello @Scott29 ,
Please add the following in the "Variable attributes" field underneath the Reference qualifier:
ref_qual_elements=corporate_security_category
As per the documentation this is required to get updated values.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 11:00 AM
Thanks for the suggestion, but no luck, still no matches found on the subcategory field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 11:21 AM - edited 04-23-2025 11:26 AM
Hello @Scott29 ,
Sorry, I did not notice that they are Reference variables. Please change them to Lookup Select Box variables, then it will work.
For the Category variable you would need this reference qualifier, and no "Variable attributes":
name=sc_cat_item^element=corporate_security_category
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 11:08 AM
Hi @Scott29 ,
is variable corporate_security_category is also a reference type?
if yes
change it's type to lookup select box and try
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya