Hide x in mrvs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 10:32 PM
I want to hide 'X' in MRVS on on Load , the script available on community is not working .Does anyone have idea about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 11:16 PM
you should write normal client script on sc_req_item table with Isolate Script = False
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
‎06-23-2025 11:31 PM
@Ankur Bawiskar , How does it work on sc_req_item table, I want to hide on Catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2025 12:06 AM
so while raising you don't want them to delete the rows using cross icon?
but what if user added something by mistake and want to remove
This is not a valid business requirement in that case.
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
‎06-24-2025 01:44 AM
I applied on sc_req_item table , then also x icon is not hiding on RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2025 01:53 AM
this worked for me in onLoad client script on sc_req_item Table
Ensure "Isolate Script" = False for your client script
If this field is not on form then from list make it false
function onLoad() {
//Type appropriate comment here, and begin script below
setTimeout(function() {
var items = document.getElementsByClassName('btn icon-cross btn-sm multi-row-delete-row');
for (var i = 0; i < items.length; i++)
items[i].style.display = 'none';
}, 3000);
}
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