Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Can we have different set of columns in the reference lookup?

chakings22
Mega Contributor

I have a reference column in  two of my forms in different modules  which points to the 'sys_user_grmember' table. Currently the reference list layout has been configured to show group and user columns when the reference popup is opened. My requirement is that, from my first form when i open the reference lookup it has to show only the group column. If I open the reference lookup from my second form it has to show group and user columns. Is there a way this can be achieved.

3 REPLIES 3

Aakash Shah4
Tera Guru

Hi Maria,



Right click on the List layout when the look up box is displayed.


Click Personalize List Layout.


And move the columns which you want to display to selected tab.


Aditya Telideva
ServiceNow Employee
ServiceNow Employee

hI Maria,


If I understand you correct, you can either A) configure the list from that popup, B) Create a new view called sys_ref_list.



This may be helpful: Re: How to change view for reference lookup


Thanks,


Aditya Telidevara


I am not trying to have different views when I click on New button in my reference list. My requirement is when i open the reference lookup from my form 'A' i want to see Group and User columns as below.



find_real_file.png



When I open the look up from my form 'B' i want to see only the Group column. I know we can configure the List layout to add or remove the columns. But I want to have different columns from different forms.