Show Name ,User Name and Email in a reference field of catalog item

Deep_D
Tera Contributor

Hi, we have created a catalog variable reference to the user table. When the user searches for the name by default it is showing the Name of the user and the User's email in the list, but here I also want to add the user name to avoid confusion with the duplicate Display values. And for this, I have set the attribute value in the user's table following the below blog but still, this was not working.

 

https://www.servicenow.com/community/developer-forum/set-default-field-to-show-on-reference-list-col...

 

"all_tables.text_index_translations=true,display_image=photo,global_search_config_handler=UserConfig,ih_process_sync_enabled=true,iterativeDelete=true,metadata_link_exempt=true,ref_ac_columns=email,user_name,ref_ac_columns_search=true,ref_ac_order_by=name,ref_auto_completer=AJAXTableCompleter

Deep_D_0-1687232715152.png

 

Thank you

1 REPLY 1

Community Alums
Not applicable

Hi @Deep_D ,

The attribute section should read: ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name,email,user_name,ref_ac_columns_search=true.