- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2015 05:04 PM
Want to Remove Update Personalized List Cog, just for one table. I want to keep the cog available to all users for all list, except I have one list I want to remove it from. I understand how to do it by role, but that won't work for this. Any ideas?
Thanks - George
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2015 08:49 PM
Agree with Paul and Brad. BUT, you could add a "Before Insert" Business Rule on the List (sys_ui_list) table. It will not stop them from clicking on the icon and making changes in the dialog, but it will abort the changes.
Your conditions would look like this (you would obviously change the table name):
The "User is not empty" condition allows admins to make a global change. The Actions would look like:
May not be pretty, but it works without any DOM manipulation so it is safe from upgrades.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2022 08:51 AM
I tried this using script, though log is getting printed. But user can still move fields to the right.
This script is in custom scope.
if(gs.hasRole('audit_firm'))
{
gs.addInfoMessage('Has Role');
current.setAbortAction('true');
}