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-22-2025 09:15 PM
I tried the following in UI script but it didn't work.
Do you know what's wrong?
addLoadEvent(hideButtonsAdd);
function hideButtonsAdd() {
if (document.URL.indexOf('sys_target=sys_user_grmember') != -1) // change the table name "problem" value as per the related list being used by you
{
alert("test");
gel("_add").disabled = true;
gel("_run").disabled = true;
gel("select_0_filter_row").disabled = true;
gel("select_0_filters_row").disabled = true;
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2025 09:29 PM
did that alert come?
are you using correct html element?
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-22-2025 09:35 PM
There was no alert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2025 11:52 PM
may I know which buttons you want to hide from that page?
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:15 AM
This is the screen that appears when you click "Edit..." in the "Group Members" related list of a group record.