About Variables (Reference Type)

k-tsumori
Tera Expert

What are the variables (reference types) for catalog items?
When I check the portal, it returns search results that start with the characters I entered, but can I make the search results include the characters I entered?
I would appreciate it if you could tell me if it is possible to achieve results like a search for “*xx” with the input “xx” without wildcards.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@k-tsumori 

you can use this but remember it would be impacting other places as well

1. Ensure that the system property "glide.ui.ref_ac.startswith" is set to false.

2. Confirm that the reference field has attributes as the following:

ref_ac_columns_search=true, ref_ac_order_by=column_name, ref_ac_columns=column_name1, column_name2, ref_auto_completer=AJAXTableCompleter

3. Create the following user preference:

Name: table_name_being_referenced.autocomplete.contains (i.e. sys_user.autocomplete.contains)

System: checked

User: leave this blank

Type: true | false

Value: true

4. After the user preference has been created log out and back into the instance for it to take effect

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Very helpful.
Thank you.