show different field in reference popup

ramireddy
Mega Guru

Hi,

On clicking of a reference field selection icon, a reference popup page appearing to select a record. I am looking to show another field in that reference popup. Currently its displaying a field "x". Instead of that I would like to display another field say "y". How can we implement this?

1 ACCEPTED SOLUTION

Mihir Mohanta
Kilo Sage

May be you have not added that in the list layout of the reference list.


1.Click on the reference icon.


2.Right click on the header of the list.go to configure--> list layout and add "Y"column.



find_real_file.png




Thanks,


Mihir


View solution in original post

8 REPLIES 8

The popup is a list, just like any other list, but with a specific view.


If you want to display other columns, you can Configure > List layout to customize this list.


But please be aware: everywhere that the reference to the same table is used, the same columns will appear.



Extra info:


You will find the list under System UI > Views > name=sys_ref_list > find the table you are referring to under the Lists related list.


Mihir Mohanta
Kilo Sage

May be you have not added that in the list layout of the reference list.


1.Click on the reference icon.


2.Right click on the header of the list.go to configure--> list layout and add "Y"column.



find_real_file.png




Thanks,


Mihir


Thanks Mihir. This made it work.



Thanks


Rami Reddy


Manik
ServiceNow Employee
ServiceNow Employee

Hi Ram,



Only one field can be defined as the display value for a table. When you set the Display value to true, a business rule sets the Display value to false for all other fields on the table. In previous versions, you must manually ensure that no other fields on the table have a value of true in the Display column. So the display value should be set to true for field "y" and it should work.



Refer below url to further understand it:



Reference Fields - ServiceNow Wiki



Thanks & Regards,


Manik Narula



PS - Please mark Helpful, Like, or Correct Answer if applicable.