The CreatorCon Call for Content is officially open! Get started here.

Approving (document_id) field will not display when added to Approval form

eurban
Kilo Expert

I am not able to figure out why the Approving (document_id) field will not display on our Approval form so am seeking some suggestions.

Here is the form not showing the Approving field:

NoApproving.png

I do have it added to the form as seen below:

ApprovingSelected.png

I am looking in the Default view:

DefaultView.png

I am able to see the field and value in the list view:

ApprovingTableView.png

I have checked ACLs and there are none showing as a deny, which is also backed up by the field showing up in list view.

I disabled all client scripts and UI Policies on the form.   - UPDATE: No I didn't disable all UI Policies, see the answer.

Chrome dev tools at least has the element showing with a value.   When I hover my mouse over the element, nothing is highlighted on the form like what happens for other fields like "Approval for".

devtools.png

Does anyone have any suggestions on what else to check?

1 ACCEPTED SOLUTION

Rakesh Mamidi
ServiceNow Employee
ServiceNow Employee

Deactivate ui policy and check


Ui Policy:


"Check for presence of new document_id field. If it is not on form, display the legacy sysapproval form."


View solution in original post

4 REPLIES 4

Rakesh Mamidi
ServiceNow Employee
ServiceNow Employee

Can you please just try adding source table as well to the form layout and check?


The source table field has the same behavior.   It shows up in list view fine but it will not display on the form.



source_table_field.png


Rakesh Mamidi
ServiceNow Employee
ServiceNow Employee

Deactivate ui policy and check


Ui Policy:


"Check for presence of new document_id field. If it is not on form, display the legacy sysapproval form."


I am an idiot.   I missed a UI Policy.   We did have the one you mentioned disabled but we had another one called "Hide / Lock down field always".   I swear I disabled it when testing but when I looked back at it again it was enabled.   Maybe if I had taken the time to read the name or actually open it then I wouldn't have had to have made this post in the first place.



Thanks for you help!