Mandatory field: Dictionary override or UI policies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 01:09 PM
Hi there
I've heard some people saying that Dictionary Overrides should not never be considered in order to make a field as mandatory.
My question is...WHY? what is the problem with dictionary overrides?
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 01:29 PM
Hi,
there is no problem with dictionary overrides. See:
That describes usage. And the same for UI Policies:
That describes your use case for making a field mandatory when it is not defined that way in the system dictionary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 04:02 PM
I don't think there is anything wrong with it per se, it is more to encourage caution.
A dictionary override will apply to everyone who interacts with records on that table (or multiple tables if adding the override on a parent table that is extended to create other tables). An override on a parent table like task will ripple down to all the extended tables and has a larger impact on the instance than an override on incident. This could be a hinderance to admins, and/or system operations that enforce table level rules.
On the other hand, UI policies are more flexible, and can be used to target specific roles and/or scenarios.
Before choosing one, be sure to read through the docs that @Bert_c1 provided. Consider the requirements behind the request, and likelihood of impact on future extensibility.