Skip to main content
saidivyam
May 17, 2022
Question

Related Action

  • May 17, 2022
  • 6 replies
  • 0 views

Hi,

   I have a requirement that  in the related action ,visibility   if the user not in the group then need to have a message that you don't have permission to have this related action else user can do related action.

  But i want this action to be done without clicking on related action (by default depending on user).

Please suggest any  solution for this. 

Thanks & Regards,

saidivya Minna

6 replies

stefanhelzle0001
Brainy
May 17, 2022

This sounds like a bad UX. Why is it necessary to display the related action, make the user click it and then disappoint him?

shubhamk0004
May 17, 2022

Hi Divya and Stefen,

I am agreed with Stefen, if related action is not required to a specific group or an user, then do not show it to them. This is the best approach of UX.

stewart.burchell
May 17, 2022

It does, as [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05] suggests, sounds like a strange UX - "here's an action but you can't do right now". That may be what's required (everything has its context and we may not be privy to the full context in which you're working)...if it is then you can make re-use of the related action visibility logic (i.e. ensure you encapsulate it in a separate Expression Rule so that you only have to change it in one place) and, assuming your related action has been placed in a User Interface by you (rather than the OOTB related action that appears top right of a record view) then you can make a discrete UI component visible when the related action visibility is false, and vice-versa. 

saidivyam
saidivyamAuthor
May 17, 2022

Thanks Stewart