use ref_ac_columns in variable attribute

anasuyaray
Kilo Expert

Hi All,

I have a variable which is referencing cmdb_ci_service table. I am using the following in variable attributes field:

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_field1;u_field2;u_field3,ref_ac_columns_search=true,ref_ac_order_by=name

Where u_field1,u_field2,u_field3 are user defined fields added in cmdb_ci_service table.

It is not working. After putting this also it is only taking name to search.

Any help will be appreciated.

Regards,
Anasuya

4 REPLIES 4

Rajesh T
Giga Expert

Can you please share complete Attribute value you were added ?


For more details about ref_ac_columns,please refer -   Auto-Complete for Reference Fields - ServiceNow Wiki    



Thanks,


Rajesh T


I have checked that. Complete attribute is given above as well.


Please find it below:



ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_field1;u_field2;u_field3,ref_ac_columns_search=true,ref_ac_order_by=name




Variable is a reference variable which is referencing cmdb_ci_service table.


Do we need to add anything in the attribute of cmdb_ci_service table's collection type dictionary entry?


Rajesh T
Giga Expert

Can you refer below thread :



https://community.servicenow.com/message/639649



Thanks,


Rajesh T


arjbalikai
Kilo Explorer
Hi anasuyaray,
 
Were you able to make the variable attribute work for the reference field? [attached to the cmdb_ci table]?
 
anticipating a swift response.
 
 
 
Thanks,
Arjun.P.B