---
sourceDocument: Yokohama ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/servicenow-platform

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Define view template

# Define an EVAM view template {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

You can configure multiple view templates per datasource based on conditions to customize how data displays for users. The view template maps fields from the view configuration to component.

## Before you begin

Role required: admin or evam_admin

## About this task

The view template is referenced from the Entity View Action Mapper (EVAM) view configuration record. For more information, see [Define an EVAM configuration bundle](https://www.servicenow.com/docs/MzHID8E~Z58fyOYMjEB4EA "Create a view configuration to combine conditions, database fields, and declarative actions with an associated view template.").

## Procedure

1. Navigate to AllEntity View Action Mapper (EVAM)View DefinitionView Templates, and then select New.
2. On the form, fill in the fields.  
   {#define-evam-template__table_ayv_pry_2nb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name of the EVAM view template. |
   | Application | Application scope of the EVAM view template. |
   | Active | Option to activate the EVAM view template. |
   | Template | A JSON template that defines the view for a mapped data source. For example, the default search template contains the following: { "component": "sn-search-result-evam-card", "staticValues":  { }, "mappings": { "title": "ai_search_teaser_title", "summary": "ai_search_teaser_text" }, "actionMappings": { "clickAction": "navigation" } } Use `sn-search-result-evam-card` as the component for search result pages. |
   [ ]

   {#define-evam-template__table_ayv_pry_2nb}
3. Select Submit.

*[\>]: and then


