Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Regarding sys_search_context_config table

TomohiroT
Tera Contributor

Hi all, 

 

I am looking for a way to search for user information on Employee centre, where users can search for other users' information (I'm thinking of skills, hobbies, and such). With PDI, I was trying to add a new tab where users can do the aforementioned search, but was unable to add. Any idea how I can make it possible?

3 REPLIES 3

PrashantLearnIT
Giga Sage

Hi @TomohiroT 

 

Key Steps to Add the Search Tab for User Information

Step 1: Enable Employee Profiles with Relevant Fields

  • Review the Employee Table (sys_user) Schema:
    • Ensure the required fields like skills, hobbies, or interests exist. If not:
      • Create custom fields using PDI: Go to System Definition > Tables > sys_user and add the necessary fields (e.g., Skills, Hobbies).
  • Ensure these fields are indexed for better search performance.

Step 2: Configure the Employee Center Module in PDI

  • Add Employee Center Configuration Options:
    • Navigate to Employee Center > Configuration in PDI.
    • Look for Search Configurations. If they exist, ensure the sys_user table and the relevant fields (like hobbies, skills) are included.
    • If custom search elements aren’t available by default, consider:
      • Using Extensible Framework: Modify the Search Source to fetch data from the sys_user table.

Step 3: Create a New Tab in the Employee Center

  1. Go to Employee Center Designer via UI Builder (in PDI).
  2. Add a New Page or Tab:
    • Create a Page Layout and select an Embedded List or Search Box.
    • Bind the search component to sys_user.
      • Use a List or Filter Component and set it to search custom user fields like hobbies/skills.

 

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

Hi Prashant,

 

Thank you for your prompt reply.

 To make my question more clearly, this screenshot is the place I was referring to as the place I want to add a new tab. This is not the same instance, but I want to do the same thing with this. It says 'People' and users can search for other employees.

Sorry, forgot to attach a picture.