Add costume table to index source and change the default searchable field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 01:46 PM
Can somebody please help me whit a task ?!
I'm new whit AI search source.
So I've created a table extendable from task and then I created and index source and a Search source for that table.
The problem is that in that table I have records and if I try to search them in the Portal search it only works if I use the number field. I want it to be searchable whit the u_name field.
what I have try so far:
I've change the display field on the table to be set true to u_name field and false to number field.
I've added the fallowing attribute: ref_auto_completer=AJAXTableCompleter,ref_ac_columns_search=true,ref_ac_columns=u_name
and still I cannot search my record base on the name field.
Cand somebody help me please?
The whole problems starts because apparently the business application table is not indexable from what I see so I had to create a mirror table for the cmdb_ci_business_app table in order to be able to see records of it on portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2023 11:29 AM
Hi @Vlad2 ,
Please check below link and configure accordingly for text search for u_name.
https://www.servicenow.com/community/now-platform-blog/introduction-to-search-sources-in-service-por...
Please mark it as Solution Proposed and Helpful if it works for you.
Thanks,
Anand