Wanted to remove cross button from MRVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi there
Is there any way to remove cross button from MRVS without DOM Manipulation. We already tried but it doesn't have consistent behaviour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
To the best of my knowledge , without DOM manipulation, achieving this would not be feasible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Rakesh-Patil ,
I'm not sure if this is the best approach, but we can try hiding the remove cross button from MRVS without DOM Manipulation by adding custom CSS to the Service Portal theme.
However, we should verify that the CSS works as expected and doesn't affect other elements.
CSS:
.sc-multi-row-variable-set .wrapper-xs .fa.fa-close {
display: none !important;
}
Regards,
Tarun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @Rakesh-Patil ,
No, ServiceNow's g_form API or MRVS variable configurations do not expose a parameter to selectively disable or hide individual row action icons while keeping the row data visible or editable.
Also Refer below article on how you can disable the buttons in the MRVS.
Disable buttons in MultiRow Variable Set
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Rakesh-Patil ,
You can hide the MRVS buttons without DOM manipulation by using CSS in a Rich Text Label variable.
Please refer to this ServiceNow Community article for the implementation steps and CSS selectors:
Reference: ServiceNow Community – Hide Buttons in MRVS Without DOM Manipulation
The article explains how to hide specific buttons, including Add, Edit Row, Remove Row, and Remove All, using CSS selectors.
If you find this solution helpful, Mark this response as Helpful and Please Accept the solution.
Regards,
Sandesh Powar
ServiceNow Rising Star