sub-category popup should be visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 09:54 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 12:14 AM
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
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 01:09 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 01:13 AM
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]
****************************************************************************************************************