purchased_rights field in alm_license table not setting readOnly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 02:12 PM
Hello,
In the alm_license table, there is a field purchased_rights which is not set to ReadOnly.
I checked the dictionary, UI Policies, Data policies, client script, BR, and SI as well but field is still mandatory and editable.
it was working in onChange client script using the below code but not in the OnLoad script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 03:45 PM
It's recommended to change a field's mandatory, read only and/or visibility via a UI Policy. Try inactivating the client script(s) and doing both with a UI Policy Action, with the onLoad box checked on the UI Policy. Also ensure there are no other UI Policy Actions affecting the same field, or client scripts. If you use a client script for whatever reason, it has to be done in the order shown - Mandatory false before ReadOnly true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 04:42 PM - edited 11-20-2023 04:45 PM
Perhaps it is made mandatory through the dictionary, or dictionary override (checkbox "Mandatory" is marked on the fields definition form)?