Auto-Complete Reference Field Search for Multiple Fields

kesha
Kilo Contributor

I created a Service Catalog Item request and had a question regarding one of the requirements. The UI Macro associated to this request functions as required, however I need to have two values (Vendor Number and Alternate Vendor Number which are custom fields we created for the core_company table) auto-populate when the user is searching for the Company Name (as pictured in the screenshot below). The only way I was able to make this function was by adding an attribute to the core_company dictionary entry, but this is not our ideal option. Any feedback on how to implement this into my UI Macro would be greatly appreciated. I attached a copy of the UI Macro.

Attribute:

ref_ac_columns_search=true,ref_ac_order_by=name,ref_ac_columns=u_vendor_number;u_vendor_number_alternate,ref_auto_completer=AJAXTableCompleter

find_real_file.png

1 ACCEPTED SOLUTION

Gurpreet07
Mega Sage

ui_reference is a ui macro having support for attributes .. completer,columns.



find_real_file.png


View solution in original post

15 REPLIES 15

Hi Bhanupratap,

 

The attributes should be updated on dictionary override instead. Configure the dictionary of the field on change forma and then switch to advanced view. Dictionary override related list should be visible.