AI Search adding searchable pages

Joakim St_ckel
Tera Expert

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

5 REPLIES 5

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:

Jesse_H_0-1708625485102.png

 

Jesse_H_1-1708625521164.png