Roger Chew
ServiceNow Employee

Have you ever wanted to customize the fields displayed to a user when clicking on a reference field icon (find_real_file.png)? If so, then you can take advantage of the sys_popup form view feature.

find_real_file.png

 

sys_popup behaviors

The reference field popup form behaves differently depending on how you set up the sys_pop up form view.

none (default)By default, if a sys_popup view is not defined, the reference field popup form will display the default view of the table.
sys_popup

If you have defined a sys_popup, the reference field popup form will display the fields configured in sys_popup.

sys_popup,[view name]

If you have defined a sys_popup,[view name] and viewing a form view called [view name], the reference field popup form will display the fields configured in sys_popup,[view name] (e.g. sys_popup,ess).

If the sys_popup,[view name] does not exist and viewing a form view called [view name], then the default sys_popup view will be displayed.
(NOTE: This particular behavior broke in Madrid and is fixed in Madrid Patch 5 according to the known error article.)

 

Configure a sys_popup view

To configure a reference field popup form for a table using the default sys_popup view, navigate to the below URL format, substituting the instance name and table name. Then configure the form to add or remove fields as appropriate.

<your instance name>.service-now.com/<table name>.do?sysparm_view=sys_popup

 

find_real_file.png


Configure a sys_popup view for a specific form view

To configure a reference field popup form for a table using a non-default sys_popup view, navigate to the below URL format, substituting the instance name, table name, and name of view. Then configure the form to add or remove fields as appropriate.

<your instance name>.service-now.com/<table name>.do?sysparm_view=sys_popup,[view name]

 

 find_real_file.png

Additional Information

Configure the reference icon view of fields

Comments
Tera Expert

Thanks Roger that's quite useful.

Is there a way to do this only in a configurable workspace?  Particularly thinking about pop-overs

Tera Explorer

Hi Roger!

 

Thanks for this write-up. We're facing trouble getting the feature to work with anything but the default view. I tried viewing the known error article linked above, but get a message that my role doesn't allow me to view it. Do you have any insight on why this might be broken in current releases, as well?

 

Thanks,

Court

Tera Contributor

Hi All,

 

I added new view sys_popup to the table, and want to use it in Service Portal for the Reference Filed. Unfortunetly I see the default view.

Any solution how to solve it?