cancel
Showing results for 
Search instead for 
Did you mean: 

Disable edit of custom BO instance based on condition

tris_001
Explorer
0 Kudos

Hi all,

For a specific project we have created a custom BO with root level data and 2 nodes, readers and editors. It should allow end users to open an instance of the custom BO (TI screen) and to add employees to the reader or editor list. This is because we want to maintain the permissions of read/edit SPECIFICALLY for the custom BO instance. So permission are different per instance of the BO.

When clicking open a specific instance of the BO, we have some logic to determine if the currently logged in user is in the editor list and if so, we put a transient boolean to true.If not, we put this to false.

Now the main question is: how can I use that boolean to disable/enable the edit pencil icon? If the boolean is true, we want to keep it enabled. If it is false, we want it disabled. I checked in the UI designer but there we don't seem to be able to configure that edit button.

Any ideas?

Accepted Solutions (0)

Answers (0)