Reference field not showing up as Dropdown - Why?

G24
Kilo Sage

Guys, what am I doing wrong here?

On the incident form, I defined a new field, which is a REFERENCE to another field, as follows:

111.png

 

But it's not showing up as a "Dropdown".  It's showing up as a Lookup Dialog.   There is a magnifying glass icon, and clicking on that causes a popup dialog to appear.  It's a lot more "clunky" than the simple dropdown.

222.png

 

I'm sure this is an ID 10 T error, so apologies in advance.  Thanks for helping.

2 ACCEPTED SOLUTIONS

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @G24 

Greetings!

refer below support articles:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0723555

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0784424

 

Please mark answer helpful or correct. if it solves your query

Kind Regards,

Ravi Chandra.

View solution in original post

Thanks, @Ravi Chandra_K and @Sagar Pagar 

It ended up being THIS property that I needed to change: glide.xmlhttp.max_choices 

But I'm still very unclear on the difference between that and glide.ui.max_ref_dropdown.  Do you guys understand the difference?  As described here ?

View solution in original post

8 REPLIES 8

Sagar Pagar
Tera Patron

Hi @G24,

 

Follow the below steps. It will help you to she reference field as drop-down.

1) Select the Choice List Specification section options as

  • Dropdown with --None--
  • Dropdown without --None--

2) Add the field attributes with comma separated.

ref_auto_completer=AJAXReferenceChoice

 

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @G24 

Greetings!

refer below support articles:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0723555

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0784424

 

Please mark answer helpful or correct. if it solves your query

Kind Regards,

Ravi Chandra.

Thanks, @Ravi Chandra_K and @Sagar Pagar 

It ended up being THIS property that I needed to change: glide.xmlhttp.max_choices 

But I'm still very unclear on the difference between that and glide.ui.max_ref_dropdown.  Do you guys understand the difference?  As described here ?

Hello @G24 

glide.xmlhttp.max_choices - control the number of recent selection the system displays.

glide.ui.max_ref_dropdown - if the no.of values in table are more than what defined here (default 25), it will populate as reference Icon. 

Screenshot_20230724_161633_Chrome.jpg

refer below threads as well:

https://www.servicenow.com/community/spm-forum/maximum-number-of-choices-in-a-reference-field/m-p/10...

https://www.servicenow.com/community/developer-forum/max-number-of-choice-list/m-p/1964659

https://www.servicenow.com/community/developer-blog/recent-selections-in-servicenow-for-reference-an...

please mark the answer as helpful and correct if your query is resolved.

 

Kind Regards,

Ravi Chandra