Choices are visible in the portal and but showing up in the try it option for the same catalog item

NisargaK
Tera Contributor

Hi @Everyone, 

 

 

I have a scenario where we have categories and subcategories for a catalog item. These both categories and subcategories are stored in a custom choice table. The issue here is that when we select the category in portal, we are able to select subcategories that are dependent on the selected category.

 

But when we try the same in the catalog item’s try it option, we can select a category, but the subcategories field is showing none. We have checked reference qualifiers and other things; everything seems good to me.

 

The UI scripts and client scripts were updated a few years back, not recently, but this issue happened recently. Any idea on this? Can someone please suggest something on this?

5 REPLIES 5

Nayan ArchX
Tera Guru

Hi, 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0789148

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0960969

 

https://www.servicenow.com/community/developer-forum/catalog-item-reference-qualifier-not-working-in...

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0960969

 

If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!

 

Thanks

Nayan Patel

IT ServiceNow Consult, ServiceNow ArchX

If my response has resolved your query, please mark it Helpful by giving it a thumbs up and Accept the Solution

Hi Nayan , Thanks for the response.These Kb’s are very useful and thanks for sharing.

 

Also regarding my issue there was client scripts for onchange of category . In that we have unchecked  the “ Applies on a catalog item view “ option . So i tried by enabling this and it worked 

 

Thanks for the help

Ankur Bawiskar
Tera Patron

@NisargaK 

how is the dependency handled? using ref qualifier?

share screenshots of those variables

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur , Thanks for the response. The issue got resolved.Also regarding my issue there was client scripts for onchange of category . In that our team had unchecked  the “ Applies on a catalog item view “ option . So i tried by enabling this and it worked

 

Thank you