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.

Variable attributes not populating correct values

Community Alums
Not applicable

Hi Connections,

 

I have a Reference Variable(Org ID) referring to u_orgid_list table, on esc portal for the I only want to show 'Name field from Org ID table alng with Org id'. I have kept the 'Variable attributes ' code as " ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_orgid;u_name,ref_ac_columns_search=true" but it is population other field values also... 

 

Rafmine_0-1699447245600.png

 

Rafmine_1-1699447365062.png

 

 

I only want to show Name field from Org ID table alng with Org id.

Appreciate any help...

 

Regards,

Rafmine

2 REPLIES 2

yaswanthi2
Giga Sage

Hi @Community Alums 

if that other field is display value then add ref_ac_display_value=false as well in that attribute

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_orgid;u_name,ref_ac_columns_search=true,ref_ac_display_value=false

If my answer has helped with your question, please mark my answer as an accepted solution and give a thumbs up.

 

Kind regards

Yaswanthi.

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

by default whichever field is marked as Display=true will show.

If you want to hide that field then use ref_ac_display_value=false

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