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.

Reference Field Drop down

MYousaf111
Tera Contributor

Hi Guys, I need to ask how to add more columns in the drop-down of the reference field. As you can see in the photo there are names and Emails. I want to show the phone number next to the Email (3 columns at a time). Is there any way to do it?

MYousaf111_0-1718302261043.png

 

1 ACCEPTED SOLUTION

To add several column names, use a semi-colon as a separator (because comma is used as a separator between different dictionary attributes).

View solution in original post

5 REPLIES 5

Slava Savitsky
Giga Sage

In a nutshell, you can achieve this with the help of ref_ac_columns dictionary attribute. Check out this article from the product documentation for more details.

I have already done that but now it's not showing email only phone number. I want all three columns Name, email, and phone number. Can you help me with that? Maybe I am making some mistakes while writing that line of code.

To add several column names, use a semi-colon as a separator (because comma is used as a separator between different dictionary attributes).

I can see either email with name or phone with mail. I wanna see all three columns in a dropdown.