Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Variable attributes not working for another tables

naji nabulsi
Tera Contributor

I create a catalog item and in the reference field I want to search for name and code.

search.png

so I add Variable attributes ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;code,ref_ac_display_value=name,ref_ac_order_by=name,ref_qual_elements=name,code 

var att.png
But it did not .
when I change the tabel to user tabel the same Variable attributes works so fine.

can anyone help me with that and why that happen?
thank in advance

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@naji nabulsi 

you don't need ref_qual_elements attribute

so update as this

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;code,ref_ac_display_value=name,ref_ac_order_by=name

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@naji nabulsi 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Sandeep Rajput
Tera Patron

@naji nabulsi 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;code,ref_ac_display_value=name,ref_ac_order_by=name

Raghav Sharma24
Giga Patron

Below should work , just make sure your column names are correct:

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;code,ref_ac_display_value=name,ref_ac_order_by=name