How to hide a declarative action for a specific role?

vidhya_mouli
Giga Sage

I tried this approach, however this hides the button for everyone. Any suggestions on how to resolve this?

vidhya_mouli_1-1742985178794.png

 

1 ACCEPTED SOLUTION

vidhya_mouli
Giga Sage

I was able to resolve this issue. Checking for role does not hide the button.. However, when I checked for the group it was able to hide it.

View solution in original post

2 REPLIES 2

pratikjagtap
Giga Guru

Hi @vidhya_mouli ,

 

 

  • Navigate to Declarative Actions Table

    • Go to sys_declarative_action.list in the Filter Navigator.

  • Open the Declarative Action Record

    • Find the action you want to modify.

  • Configure Visible Roles

    • Add the roles allowed to see the action.

    • Leave it empty to make it visible to everyone.

  • Save & Test by logging in with a user who doesn’t have the role.

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍 !

 

Regards,

Pratik

 

vidhya_mouli
Giga Sage

I was able to resolve this issue. Checking for role does not hide the button.. However, when I checked for the group it was able to hide it.