How to setup backend values for a choice label using script include?

marioamza1
Giga Contributor

Hello,

I am using catalog client script / script include to display only specific choices into subcategory field based on another field selection, but after submitting the catalog form, will display the choice twice in color blue.

In order to avoid this, need to setup backend values using scripting. How can I setup backend values for those subcategory choices using script include?

Thank you.

Mario

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @marioamza1 

 

Might be helpful

https://www.servicenow.com/community/itsm-forum/populate-the-subcategory-depending-upon-category-on-...

https://www.servicenow.com/community/itsm-forum/catalog-item-to-show-subcategory-based-on-dependant-...

https://www.servicenow.com/community/developer-forum/for-a-category-show-only-the-specific-sub-categ...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************