Search in Service Portal (how to add a new search source)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 04:24 AM
Hi,
I'm trying to find out how to add a new search source in the service portal.
Example:
Here you have "Knowledge base", "Service Catalog" and "Questions and answers".
I'm trying to add a new table to search. Lets call it "u_table".
I've tried to add it as a Search Group to the Portal, but that only makes the name visible to the left, beneat "Questions and answers". But it doesn't search the table, and how to define which fields to search. etc.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 05:13 AM
The page is not required. It points to the page where the searched record will open.
So, if you just need to search a record and see some of its fields, not giving a page would be fine.
Also, to control which fields should be seen, you can check the list layout of Portal view for that table. If no portal view exists, then check list layout for default view.
For eg, for my user search the default view layout is as below, so the search fields are:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 06:12 AM
Thanks, it makes sense
I still have one more question, i tried to add cmdb_ci to search groups, but it doesn't seem to search that table.
Do you need a widget or anything else connecting the table to the search criteria? I mean, what if you want to search the sys_user table, but only for persons with a specific company, how would you do so.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 06:20 AM
Hi again,
Found the conditions on the search group. What i'm wondering is if "Text Search Groups" has anything to do with not showing anything from the cmdb_ci table? There are "text search groups" for user table.