Calculation field on the Preferences tab for Projects

terrieb
Tera Guru

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

 

terrieb_0-1666724474126.png

P.S.  Even me, with admin role, this field is grayed out so I can't change it either!

2 REPLIES 2

Aman Kumar S
Kilo Patron

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

Best Regards
Aman Kumar

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

There is an OOB client script named "Disable Calcualtion Type" on project table which makes the field readonly.

 

Saurav11_0-1666752978128.png

 

 

Please mark my answer as correct based on Impact.