Define an EVAM view template

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • You can configure multiple view templates per data source based on conditions to customize how data displays for users. The view template maps fields from the view configuration to component.

    Antes de Iniciar

    Role required: admin or evam_admin

    Por Que e Quando Desempenhar Esta Tarefa

    The view template is referenced from the Entity View Action Mapper (EVAM) view configuration record. For more information, see Define an EVAM configuration bundle.

    Procedimento

    1. Navigate to All > Entity View Action Mapper (EVAM) > View Definition > View Templates, and then select New.
    2. On the form, fill in the fields.
      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.

    3. Select Submit.