js_includes_doctype.jsx:19428 Uncaught TypeError: Cannot read property 'style' of null at e.isDisabled (js_includes_doctype.jsx:19428) at e.isDisabled (js_includes_doctype.jsx:5742) at e.clearRelated (js_includes_doctype.jsx:19229) at e._clearDerivedFields (js_includes_doctype.jsx:18338) at e.referenceSelect (js_includes_doctype.jsx:18323) at e.select (js_includes_doctype.jsx:18290) at e.onMouseUp (js_includes_doctype.jsx:18377) at HTMLTableRowElement.<anonymous> (js_includes_doctype.jsx:11)
Log in to the instance as an admin user.
Go to the Users (sys_user) table and create a URL type field called Web Site Address.
Open the user record for Abel Tuter and put the value "http://www.example.com" in the newly created field
Go to Incident > Open and open an incident.
Right-click in the form header, and choose Configure > Form Layout.
Place the field "caller_i --> u_web_site_address" on the form, right below the Caller field, and click Update.
Elevate your role to security_admin and then create a "write" ACL on sys_user.u_web_site_address. Put a script containing "false;" mark Admin Override as "false" so that this field is no longer writtable by any user.
Go to incident.do and create a new incident.
Set the Caller to Abel Tuter.
js_includes_doctype.jsx:19428 Uncaught TypeError: Cannot read property 'style' of null
As a workaround, instead of using an ACL to make the field read only, use a UI Policy to avoid this error. The UI Policy needs to be written on the parent form. For example, if you want to set read-only a dot walked field on the Incident form, the UI Policy has to be written on the Incident table.
The documentation pages below show some example procedures on how to create a UI Policy: