Calculation field on the Preferences tab for Projects

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022 12:10 PM
This field is "read only" for all except admins and defaults to Automatic
They would like it so they can pick when the project is first created and they understand that once they select Automatic, it can't go back - they just want the ability to pick one at the beginning. (NOTE: All Projects are created from Demands)
Received a request to make it non read-only so they can select either Automatic or Manual. I was not involved in the implementation of this module so I don't know if a ACL or rule was written to make this "read only" previously, but now they want it changed
Version - Rome
Thank you
P.S. Even me, with admin role, this field is grayed out so I can't change it either!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022 12:35 PM
Hi Terrieb,
You need to firstly check few of the development components, tbh it will be really difficult to directly point to what could have been done to achieve this.
You can start looking into ACL for the calculation field, and apart from this UI policy and client script.
Also, you can check for "Default value" for the Calculation field.
If you want to make sure the field remains editable while the form is yet to be submitted, you can just add a condition in the ACL as
answer = current.isNewRecord() in the script field by clicking on Advanced checkbox on the write field-level ACL form
OR
g_form.isNewRecord() if it is client script or UI policy
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022 07:56 PM
Hello,
There is an OOB client script named "Disable Calcualtion Type" on project table which makes the field readonly.
Please mark my answer as correct based on Impact.