Variable attributes for multiple column search

ServiceNow Tech
Tera Contributor

I have a list collector variable in a catalog item which refers to sys_user table.

In service portal i am able to see and search only with Name of the user but I want email of the user aswell along with name.

In variable attributes i gave : ref_ac_columns=name;email   

It is showing both name and email but I am not able to search with email. I want both visibility and search for name and email.

Please help.

1 ACCEPTED SOLUTION

SumanthDosapati
Mega Sage
Mega Sage

Hi,

Try this in your variable attributes 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;email,ref_ac_columns_search=true

 

Mark as correct or helpful as applicable.

Regards,

Sumanth

View solution in original post

2 REPLIES 2

Musab Rasheed
Tera Sage
Tera Sage

Hi,

Try adding below to variable attribute.

        ref_auto_completer=AJAXTableCompleter,ref_ac_columns_search=true,ref_ac_columns=user_name;company;email

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

SumanthDosapati
Mega Sage
Mega Sage

Hi,

Try this in your variable attributes 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;email,ref_ac_columns_search=true

 

Mark as correct or helpful as applicable.

Regards,

Sumanth