set visible in variable set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 12:06 AM - edited 05-14-2025 12:08 AM
Hi Everyone,
I have a requirement where on the catalog item,
there are two custom fields in multi row variable set called select choice and application tag -
when a Type B is selected in choice field on the catalog form from choice field
field in the variable set select choice should be visible with the choice azure and on prem.
and only when on prem is selected another field called application tag should be visible (in variable set).
I am new to variable sets can anyone help me out here please.
how shall I achieve this?
thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 03:50 AM
No have checked it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 04:04 AM
sorry but did you try to hide some other variable within that MRVS?
Any other UI policy is showing that select_choice after your client script is possibly hiding?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 06:22 AM
actually, this is a custom variable set with only one client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 11:14 PM - edited 05-14-2025 11:19 PM
there is one catalog ui policy ,
its job is to show application tag field on the MRVS only azure is selected in select_choice field.
but not sure its affecting the script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 04:58 AM
Sorry but I already you a working solution and approach on how to access the outside variable within MRVS onLoad client script.
Please debug further.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
