The CreatorCon Call for Content is officially open! Get started here.

How can I do a contains search on 'name' as well as other fields for a cmdb_ci (Configuration) Reference variable?

Shane J
Tera Guru

I can't do anything but a startswith search for the Display Value on cmdb_ci for a Reference variable.  The other columns also do a startswith search only.

Here's what I'm currently using for Attributes:

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;asset_tag;category;model_number;serial_number,ref_ac_order_by=name,ref_ac_columns_search=true

 

I have a contains search working properly for sys_user Reference Variables but I believe that's due to having the appropriate System Poperty sys_user.autocomplete.contains .  Creating the same Property for cmdb_ci didn't have any effect.

8 REPLIES 8

This did the trick! Thank you so much!

4 years late, but an easier fix can be done by following: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0715718

Bet you're aware, just pasting for anyone else finding this thread in 2025 and beyond like myself! 🙂

Whoops! Wish I knew about this!

sondrefaane
Tera Contributor

Sometimes the forums clutch up years after you post or reply haha. Hope you can use it some day 😄