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.

Help with UI Builder Search Component

WayneH08
Tera Contributor

Greetings,

I am building a custom app via AES/UI Builder and have added a Search Input component as well as a Search Results component. For the results component I have configured a Search EVAM with data sources from one of the app’s custom tables and another from kb_knowledge.

 

I have also configured the search profile and related data sources. 

Below screenshot is the search component data source configuration.

WayneH08_0-1730470214307.png

 

Note the searchMetadata results:

 

Knowledge count = 0

Case count = 190

WayneH08_0-1730469905795.png

 

The ais_search_source shows the Case count = 190 which is correct based on the conditions.

WayneH08_1-1730469946491.png

The ais_search_source shows the Knowledge count = 3 which is correct based on the conditions.

 

WayneH08_2-1730469998159.png

 

Therein lies the issue I’m struggling with; the ais_search_source shows 3 but the searchMetadata result shows 0.

 

I’d welcome any feedback, insights as to why I’m seeing a zero for the knowledge searchMetadata result.

 

Search Results component config below.

WayneH08_3-1730470042461.png

 

Thank you in advance for any guidance you can offer.

 

0 REPLIES 0