- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2023 11:40 PM
I have seen this in many instances where these options are not available for approvers. But in one of my other instances, I can see that this is available for the approver as well. I want these buttons 'Insert' and 'Insert and Stay' to be hidden from all except admins. Please let me know what I am missing here or I need to fix anything. Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2023 03:24 AM
You can create a new UI actions with same Action name as buttons 'Insert' and 'Insert and Stay'.
Then you can override the condition in the new UI Action as required and it will not affect anywhere else
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2023 11:58 PM
You can append gs.hasRole('admin') to the UI Action condition to make the buttons visible only for admins
Below image shows how you can add condition to UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2023 03:08 AM
Thanks for the response @Manmohan K . Do we have any other way to perform this instead of tweaking the OOB UI action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2023 03:24 AM
You can create a new UI actions with same Action name as buttons 'Insert' and 'Insert and Stay'.
Then you can override the condition in the new UI Action as required and it will not affect anywhere else
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2023 12:09 AM
Both UI actions are associated with the global table, and changes to those UI actions can impact all the global artifacts.
If I could help you with my response you can mark it as helpful and correct as it benefits future viewers
Thanks,
Sai Kumar B