Form controls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2023 02:10 AM
I want to get out a button of a form, but it looks impossible.
It's the button that can delete records with. You can hide it at your form, but another one will appear soon. It's probably ruled by roles someone has.
How can I achieve this?
Thanks!
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2023 02:40 AM
Go to UI Actions, Edit the Condition field.
gs.getUser().isMemberOf('sys_id_of_group'); // group you want its member to able to see the button.
Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2023 03:36 AM
Hi Samaksh,
Yes I did something like this and it works. But if you do this for the delete button for example, another one will appear and the question is how to delete that other one. It seems to be controlled through roles / ACL's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2023 03:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2023 04:20 AM - edited ‎07-12-2023 04:21 AM
Hereby an briefly explanation:
1.) First I renamed temporarily this button within the "sys_template" table:
2.) Button is shown here in a sys template:
3.) Now I deactivate or hide (by condition) this button within a sys template:
4.) Result is, "Delete2" button is not available/hidden, but another button at a slightly other position (order in row) appears unexpectedly: