Can I hide the filters on the Slushbucket screen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2025 11:50 PM
I have a filter set up on the screen where I assign group members to group records.
I don't want users to be able to adjust the filter
Is there a way to make the filter read-only or hidden?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2025 12:34 AM
So you don't want Edit button?
OR
You want it to be seen but on the next screen want to disable some buttons? which ones from below?
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-23-2025 12:38 AM
the script I shared few years ago which you are using, worked fine for me and it disabled the 2 buttons
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-23-2025 12:40 AM
If possible, I would like to hide all the red frames.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2025 01:53 AM
this worked for me well
addLoadEvent(hideButtonsAdd);
function hideButtonsAdd() {
if (document.URL.indexOf('sys_m2m_templatesys_target=sys_user_grmember') != -1 || document.URL.indexOf('sysparm_collection_related_relationship=sys_user_grmember.group') != -1) {
// the 1st 4 line of code disables
// gel("_add").disabled = true;
// gel("_run").disabled = true;
// gel("select_0_filter_row").disabled = true;
// gel("select_0_filters_row").disabled = true;
gel("select_0_filter_row").style.display = 'none';
gel("select_0_filters_row").style.display = 'none';
}
}
Output:
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-26-2025 03:18 AM
For some reason it doesn't work on my screen...
The URL is as follows:
https://devxxxxxx.service-now.com/sys_m2m_template.do?sys_is_list=true&sys_is_related_list=true&sys_... llection_related_file=sys_user&sysparm_collection_related_relationship=sys_user_grmember.group&sysparm_collection_relationship=&sysparm_fixed_query=&sysparm_group_sort=&sysparm_list_css=&sysparm_m2m_ref=sys _user_grmember&sysparm_query=&sysparm_referring_url=sys_user_group.do%3fsys_id%3d019ad92ec7230010393d26 5c95c260dd%4099%40sysparm_record_target%3dsys_user_group&sysparm_stack=no&sysparm_target=&sysparm_view=