Set a value visible
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 01:54 PM
Hi team,
in the Incident table, when the state is close (6) all fields change to read only by default
But i want add a new String field (motive) that only user with role user_admin can write in this field even thar state is closed
i've tried by Business Rule, Client Scrip... some logic like
if (adminRole) {
current.setReadyOnly('u_motive', true);
}
But all my attempts were fail.
Thank you support
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 03:28 PM
You probably have a write ACL on the table when state = 6. Create a new one for this field and the role and state condition. It should override the table-level one, but these can be tricky to troubleshoot.