function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Users creation with pages link



I have requirement like

1. If i configure user with "xyz" mode need to get one button "Task" on the page with some cases and those cases wil be in viewable mode and they could not allow to open for edit. If we click on the Task button then one case in the order on the page should be opened for edit.

2. If we configure user with "abc" mode then the cases on the page should be opened for edit.


please give me some idea on this.




1. Create a text field on User object

2. On page check logged in user's that field and implement accordingly 

3. for Edit and view mode  you should use rendered condition over two sections ( one is for view mode another is for edit mode)