We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to set the Custom list view for reference field?

Ajay37
Tera Contributor

Hi All,

I have gone through several community threads and blogs, but I didn't find answer. I have a reference field on Table which is referring to "sys_user_grmember" table. By default it is showing the "sys_id" when I lookup through reference field, but I want to show the custom list view with only "user" column in the list. Is it possible to configure list for only this field.

I have tried using "sys_ref_list", but it effects globally. I also tried by configuring sys_popup view, but it is only effecting at the form level when we click on the info icon beside field. 

Regards,

Ajay

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

Hi Ajay,

I don't think you can set it only for this field

When you click the lookup it would show the sys_ref_list

That would be a global change.

Also marking User field as display=true would be a global change.

But if you are not using this table as Reference table in any of your existing tables you should be fine with making the dictionary change for User column as Display=true

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

10 REPLIES 10

Anil9866
Tera Expert

Hi Ajay, you can achieve this by configuring the List elements.

Please go through this post and try to achieve this ServiceNow Learning 138: What does "sys_ref_list" list layout control?: ServiceNow Learning 138: What does "sys_ref_list" ... - ServiceNow Community

 

Let us know, if you came across any issues. 

Thanks