AI Search adding searchable pages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 02:32 AM - edited 01-26-2023 03:42 AM
Hi SN community!
I'm working on making some specific esc portal pages searchable. That's all accomplished. A Navigation Tab for pages is added in the related links of the sys_search_context_config table, as well as a script in the Search Scripted Post-processors to fullfill it.
<------>
function process(record) {
var transformableTables = ['sp_page'];
var table = record.getTable();
// It is a good practice to early terminate if possible, to avoid unnecessary overhead.
if (transformableTables.indexOf(table) === -1)
return;
var gr = new GlideRecord(table);
gr.get(record.getSysId());
//This sets the URL and adds the ID from sp_pages
var url = "/esc?id=" + gr.id.toString();
record.setUrl(url);
}
<------>
But I don't see where I've first of all managed to choose the glyphs for the search results? Where is this done? Or has it just granted it itself?
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 10:12 AM
Sorry it's been a long time since I've configured this stuff but it looks like you have to create an EVAM View Config too: