- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 05:35 AM
Hi All,
I am wondering what takes priority when in Dictionary entry for a field I will set to be readonly and also for this field I will configure ACL which controls if field should be readonly. What happens when ACL returns answer = false; and checkbox for readonly field in Dictionary entry is checked?
Solved! Go to Solution.
- Labels:
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 05:41 AM
Hi Dominik,
They all are created for different purpose. Please don't get confused with each other.
ACL - Purpose of this is to ensure what data users can access and how they can access it
Client Script - This is for Client side (or browser side) validation. Client side validation includes, making a field mandatory, read-only, hidden etc. This will get applied only at the browser.
UI Policy - This is similar to Client Script, except that not need to write a script
Business Rule. This script runs at the server side when a form Insert, Update etc. This can do some action that can be achieved only by running from Server.
Field State (Mandatory,Visible, Read only) is generally applied in the following order of preference, where one is the top preference:
- ACL (Visible/Disabled)
- Dictionary Entry (Mandatory/Disabled)
- UI Policy (Mandatory/Visible/Disabled)
- Data Policy as UI (Mandatory/Disabled)
- Client Script (Mandatory/Visible/Disabled)
Examples:
If the user does not have write access to a field (ACL), a UI Policy to make it editable will do nothing.
If a field is set to disabled on a Dictionary Entry, a UI Policy to make it mandatory or editable disabled will do nothing.
If a field is made read only by a Client Script, a UI Policy to make it editable will take preference.
3,4 or 5 may be variable based on order.
Reference: Hierarchy of Client Script, UI Policy and Business Rule and ACL
Mark Correct or helpful if it helps.
***Mark Correct or Helpful if it helps.***

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 05:41 AM
Hi Dominik,
They all are created for different purpose. Please don't get confused with each other.
ACL - Purpose of this is to ensure what data users can access and how they can access it
Client Script - This is for Client side (or browser side) validation. Client side validation includes, making a field mandatory, read-only, hidden etc. This will get applied only at the browser.
UI Policy - This is similar to Client Script, except that not need to write a script
Business Rule. This script runs at the server side when a form Insert, Update etc. This can do some action that can be achieved only by running from Server.
Field State (Mandatory,Visible, Read only) is generally applied in the following order of preference, where one is the top preference:
- ACL (Visible/Disabled)
- Dictionary Entry (Mandatory/Disabled)
- UI Policy (Mandatory/Visible/Disabled)
- Data Policy as UI (Mandatory/Disabled)
- Client Script (Mandatory/Visible/Disabled)
Examples:
If the user does not have write access to a field (ACL), a UI Policy to make it editable will do nothing.
If a field is set to disabled on a Dictionary Entry, a UI Policy to make it mandatory or editable disabled will do nothing.
If a field is made read only by a Client Script, a UI Policy to make it editable will take preference.
3,4 or 5 may be variable based on order.
Reference: Hierarchy of Client Script, UI Policy and Business Rule and ACL
Mark Correct or helpful if it helps.
***Mark Correct or Helpful if it helps.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 07:55 AM
Thanks for explanation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 05:43 AM
Hi Dominik,
Dictionary entry takes precedence and overwrites ACL.
Please look at the following thread for similar question.
Please Mark ✅ Correct/helpful, if applicable.
Thanks,
Srinivasulu Laggala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 07:56 AM
Hi Srinivasulu, thank you for resposne. I think you forgot to add link to the thread mentioned.