Show form view of record

DevYadav
Tera Contributor

Hi Community, 

Good day, 

I followed this link to show search bar in a custom workspace, I need to show some fields of my table in here as well.

https://www.servicenow.com/community/now-platform-blog/how-to-setup-a-type-ahead-search-in-ui-builde...

 

Thanks in Advance!

2 REPLIES 2

ivanortiz
Tera Expert

HI this is normally controlled by EVAM

Identify the Configuration: In UI Builder, locate the Data Resource used by your search bar and the EVAM Definition ID associated with it.
Access the EVAM Template: Go to the ServiceNow platform (backend), search for the EVAM Definition record (sys_ux_evam_definition) by its ID, and open the related EVAM View Template (sys_ux_evam_view_template).
Modify the Template:
Make sure the Data Resource is configured to retrieve the additional fields you want to display.
Edit the EVAM View Template (usually its JSON field template) to add the names of your additional fields in the correct section (e.g., secondary_fields).
Save and Test: Save your changes to the EVAM template and refresh/test your workspace to see the added fields in the search results.

@ivanortiz thanks for the reply, I tried the steps, can you give me some screenshots of it, better for me to work on, plus  I am applying typeahead component.