Define an EVAM view template

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • 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.

    시작하기 전에

    Role required: admin or evam_admin

    이 태스크 정보

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

    프로시저

    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.