How to replicate "Hide on Grid" for MRVS in Zurich?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I wish to hide two hidden variables on the form as well. I've maked these variables as hidden, but they still appear on the form level (ServicePortal) after adding the row. In Australia release we have the option on variable configuration, to hide this variable at grid level, but there is no option do the same in Zurch. My client's environment is on Zurich and upgrade isn't planned anytime soon.
How can i configure this funtionality?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
yes from Australia this feature is available
not possible to do this without using DOM manipulation in Zurich
Note: DOM manipulation is not recommended
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Is there any other way to resolve this issue? UI Policy, catalog client script or something else?
Or maybe can I do perform the requirement without using a hidden variable?
The requirement is that I need to fetch the assets to an mrvs variable, according to the user which is selected in the u_request_for variable; which is present on parent catalog item. Since MRVS can't directly fetch the value from parent form - I created a support variable inside the mrvs and populated the user in that variable by using client script:
var parentForm = g_service_catalog.parent;
if (parentForm) {
g_form.setValue('support_user_variable', parentForm.getValue('u_request_for'));
}and then passed this user's value as ref qualifier in the asser variable.
Is there a way to perform this requirement without using a hidden variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @mihirmishra
In an MRVS, variables can be hidden at the row level using a Catalog Client Script or Catalog UI Policy within the Add/Edit Row dialog.
However, ServiceNow does not offer an OOB capability to hide specific MRVS columns once the MRVS data is displayed on the form (as a grid).