Form controls

AdamUMC
Giga Guru

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!

5 REPLIES 5

Samaksh Wani
Giga Sage
Giga Sage

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

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.

@AdamUMC 

 

Can you plz explain in brief, how another button is coming up

Hereby an briefly explanation:

1.) First I renamed temporarily this button within the "sys_template" table:

AdamUMC_0-1689160328732.png


2.) Button is shown here in a sys template:

AdamUMC_1-1689160472946.png



3.) Now I deactivate or hide (by condition) this button within a sys template:

AdamUMC_2-1689160553560.png



4.) Result is, "Delete2" button is not available/hidden, but another button at a slightly other position (order in row) appears unexpectedly:

AdamUMC_3-1689160797585.png