How can I do a contains search on 'name' as well as other fields for a cmdb_ci (Configuration) Reference variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 08:45 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 04:42 PM
This did the trick! Thank you so much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2025 11:33 PM
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! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 10:52 AM
Whoops! Wish I knew about this!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 11:36 PM
Sometimes the forums clutch up years after you post or reply haha. Hope you can use it some day 😄