AI search - Search results layout change

venkataganenesh
Tera Contributor

Hi everyone,

Recently we have moved to AI search and we ran into a problem with the AI search results being displayed.

I wanted to update the card to display additional information under the summary(Highlighted with a arrow).

venkataganenesh_1-1750167690907.png

 

I am not sure what to update in the EVAM template to add the additional information(Like description of KB). Here is the template screenshot

venkataganenesh_2-1750167816010.png

 

Looking for help on the above issue. Any information or help is appreciated. Thanks in advance.

 

Regards,

Ganesh.

1 ACCEPTED SOLUTION

YaswanthKurre
Tera Guru

Hi @venkataganenesh ,

 

Please refer this community answer: https://www.servicenow.com/community/developer-forum/how-to-configure-fields-displayed-in-global-sea...

 

Type Evam in your search config :

  1. open configuration bundle (sys_ux_composite_data_template_predicate_bundle) and look for your bundle ( portal or esc or global search).
  2.  From Config bundle, open your EVAM View Config (sys_ux_composite_data_template_predicate) - update the table fields to what you want.
  3. Open View Template (sys_ux_composite_data_template) from the view config form and update the template values.
  4. Example:
"detailLabelThree": {
			"translatable": true,
			"key": "label you want to display:"
		},
        
    "mappings": { 

        "detailValueThree": "backend value of field", //update inside your mappings,

    },

//follow key value pairs for postining

 

Please mark this as helpful and correct if this answers your question.

 

 

Thnaks,

Yaswanth

 

 

View solution in original post

2 REPLIES 2

YaswanthKurre
Tera Guru

Hi @venkataganenesh ,

 

Please refer this community answer: https://www.servicenow.com/community/developer-forum/how-to-configure-fields-displayed-in-global-sea...

 

Type Evam in your search config :

  1. open configuration bundle (sys_ux_composite_data_template_predicate_bundle) and look for your bundle ( portal or esc or global search).
  2.  From Config bundle, open your EVAM View Config (sys_ux_composite_data_template_predicate) - update the table fields to what you want.
  3. Open View Template (sys_ux_composite_data_template) from the view config form and update the template values.
  4. Example:
"detailLabelThree": {
			"translatable": true,
			"key": "label you want to display:"
		},
        
    "mappings": { 

        "detailValueThree": "backend value of field", //update inside your mappings,

    },

//follow key value pairs for postining

 

Please mark this as helpful and correct if this answers your question.

 

 

Thnaks,

Yaswanth

 

 

Thank you Yaswanth for you quick response.