- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 10:42 AM
Hi All ,
I am trying to make from of table cab_agenda_item as editable only for cab manager and delegates and for rest all it should be read only .
i have tried script include and onload client script but its not working.
in cab_agenda_item table meeting is a reference field reference to cab_meeting table which has these two fields cab manager and delegates.
CLient sctipt:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 07:55 AM
try something like the below .
write a write ACL and script include and call that script include in that write ACL but make sure you do changes to the out of the box ACLS as well.
ACL
// Instantiate the Script Include
var smartFlowDefinitionUtils = new cabtest1();
// Check if the logged-in user is in the Contributor List of the current Smart Approval Definition record
answer = smartFlowDefinitionUtils.isUserInContributorList(current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 07:55 AM
try something like the below .
write a write ACL and script include and call that script include in that write ACL but make sure you do changes to the out of the box ACLS as well.
ACL
// Instantiate the Script Include
var smartFlowDefinitionUtils = new cabtest1();
// Check if the logged-in user is in the Contributor List of the current Smart Approval Definition record
answer = smartFlowDefinitionUtils.isUserInContributorList(current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 07:59 AM
Thank you it worked