How to search for fqdn column instead of name column on CI by default

tyler_johnson
Tera Contributor

I have been attempting to update the search function for incidents to use by default the fqdn field to be searching from. by default it searches name starts with. I would like to just update the incident table search to search from fqdn starts with for all users. i created a dictionary override on the task table for incident with only Override attributes checked with the below attributes. 

ref_ac_order_by=sys_class_name,ref_contributions=task_show_ci_map;show_related_records,ref_ac_columns=fqdn,ref_auto_completer=AJAXTableCompleter,edge_encryption_enabled=true

I thought by changint the ref_ac_columns to be fqdn would fix it but still when i attempt to place a value in the ci search box and hit search it defaults to name>starts with. 

1 ACCEPTED SOLUTION

Hi @tyler_johnson ,

not unless you change the display of the ci table to fqdn 

 

Select a field as the table display value

 

or

try this approach

 

create an ACL to hide the name column and check

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

View solution in original post

3 REPLIES 3

Chaitanya ILCR
Kilo Patron

Hi @tyler_johnson ,

ref_ac_order_by=sys_class_name,ref_contributions=task_show_ci_map;show_related_records,ref_ac_columns=fqdn,ref_auto_completer=AJAXTableCompleter,edge_encryption_enabled=true,ref_ac_columns_search=true

 

try this

by adding ref_ac_columns_search=true attribute

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

This works for the initial search but is it possible to stop it searching the name field by default when you open the magnifying glass? 

Hi @tyler_johnson ,

not unless you change the display of the ci table to fqdn 

 

Select a field as the table display value

 

or

try this approach

 

create an ACL to hide the name column and check

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya