sub-category popup should be visible.

Vibha19
Tera Contributor

Hi All
I am building a new catalog item named xyz user selects the sub-category popup should be visible.

the total subcategory is count is 40 i have displayed 40 popups on the portal page, I am using Richlable text and client script also but the solution has not found plz help me.  

 

3 REPLIES 3

shloke04
Kilo Patron

Hi @Vibha19 ,

 

Your question itself is not clear on what are you trying to achieve.

After reading it multiple time, what I am able to understand is you need to generate a popup when a user selects Subcategory variable on a catalog item.

 

If the above statement is correct, you will need to write a On Change Catalog Client Script on the variable "Subcategory" . Please refer the link below which contain examples to achieve the same:

 

https://servicenowguru.com/scripting/client-scripts-scripting/javascript-popup-boxes-servicenow/

https://dev.to/mkrcma/servicenow-popup-confirmation-message-part-12-p6j

https://dev.to/mkrcma/servicenow-popup-confirmation-message-part-22-with-flow-1d5k

 

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Vallabh Baradk2
Giga Guru

Hi @Vibha19 ,

 

You can use one popup and add g_form.getValue('subcategory') on popup in onchange client script.

 

Please Mark answer helpful or correct if it really works for you.

 

Regards,

Vallabh

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Vibha19 

 

Please elaborate more and provide screenshot for better understanding.

*************************************************************************************************************
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]

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