The Zurich release has arrived! Interested in new features and functionalities? Click here for more

sachin_namjoshi
Kilo Patron
Kilo Patron

Introduction

 

Employee Center Product has faceted search widget OOB which renders content from AI search source attached to Employee Center Service Portal.  

OOB AI search configuration works great with usual AI search souces e.g Service Catalog, KB articles.

 

What if you want to show content from Quick Links table in employee center faceted Search widget?

I had similar requirement for one of my implementations.

This article is created to document steps to implement this requirement.

 

Solution

 

-   Configure AI indexed source to point to quick link table (sn_ex_sp_quick_link).

 

sachin_namjoshi_0-1756440989652.png

- Scroll down to your indexed source and make sure to create field mappings like below since you would want use this in your EVAM configuration in next steps. 

 

sachin_namjoshi_1-1756441122762.png

 

- Configure AI search source to use indexed source you created.

 

sachin_namjoshi_2-1756441257580.png

 

Also, make sure that search source for quick links is linked to your AI search source.

sachin_namjoshi_1-1756441843394.png

 

- Navigate to AI Search Search Application and navigate to ESC search application.

 

sachin_namjoshi_2-1756442036911.png

 

sachin_namjoshi_3-1756442066411.png

- Scroll down to this search application and create one record for quick link in Navigation tab related list. This is needed since faceted search result will be able to show quick links content in a separate tab.

 

sachin_namjoshi_4-1756442187038.png

 

 

- Create EVAM View template and use below payload in this EVAM template.

 

sachin_namjoshi_3-1756441335787.png

{ 
  "component": "sn-search-result-evam-card", 
  "staticValues": { 
    "imageType": { 
      "translatable": false, 
      "key": "image" 
    }, 
    "imageURL": { 
      "translatable": false, 
      "key": "quick_link.png" 
    }

  }, 
  "mappings": { 
   
    "textHeaderLabelOne": "name", 
    "textHeaderLabelTwo": "override_short_desc", 
    "title": "ai_search_teaser_title", 
    "summary": "ai_search_teaser_text"
  
   
  }, 
  "actionMappings": { 
    "clickAction": "url_navigation" 
  } 
}

 

 

- Create EVAM View Configuration to make use of EVAM template created in previous step.

 

sachin_namjoshi_0-1756441570518.png

 

- Last step it to index your quick link AI search indexed source for these changes to take effect.

 

sachin_namjoshi_5-1756442312392.png

 

That's it. You have just configured quick links to show up in EC,EC Pro AI search results.

 

 

 

 

 

Version history
Last update:
4 weeks ago
Updated by:
Contributors