auto complete reference fields not working

Not applicable

I am trying to use the autocomplete function on the change form, CI field. I am using the following...

ref_auto_completer=AJAXTableCompleter,ref_contributions=task_show_ci_map;show_related_records,ref_ac_columns=sys_class_name;manufacturer;model_id;serial_number,ref_ac_order_by=sys_class_name,ref_ac_columns_search=true

However, I am unable to search by sys_class_name. I can type anything else in the field and it will narrow down, class name does nothing. Thoughts?

8 REPLIES 8

Pavan Kumar1
Tera Contributor

I have also tried every combination explained in the docs on auto_complete reference fields. this attribute logic seems to be working fine on fields referencing to sys_user and cmdb_ci but for some reason its not working for the reference field referencing to cmdb_ci_service. Am I missing some logic here.?

Same issue I am facing. Did you find anything for this issue?

This is an old thread but for anyone that might come across it, I had a similar issue where cmdb_ci_service records were not autocompleting, however did show up when opening the search field. This also affected the workspace where no results were ever returned.

 

Scenario:

An override reference qualifier was defined on the Incident.cmdb_ci field. 

javascript:'operational_status!=6^' + "company=" + current.company+ "^NQcorrelation_id=all_company_ci"

 

Cause:
The dependent field on the main task.cmdb_ci field was still populated with "company".


Fix:

Update the override on the Incident table to include a blank value for "dependent"

Pavan Kumar1
Tera Contributor

Attaching pics of Attribute and result