A view configuration combines conditions, database fields, and declarative actions with an associated view template. You can also group view configurations together to create configuration bundles using the Entity View Action Mapper (EVAM).

EVAM has pre-defined view configurations, view templates, and configuration bundles to make it easier to use the feature. The base system configuration bundles include:
  • Service Portal Search Bundle
  • Service Portal bundle (sp_bundle)
These bundles have view configurations attached that are anticipated to fit the business unit associated. You can also create or edit configuration bundles to meet your needs.

View configurations have an associated view template, tables and conditions, designated table field with data, and associated declarative actions. You can look at the demo_evam_dataset for examples of base system configuration views. These view configurations are ready to use and are meant to work with many use cases. You can also create or edit view configurations to meet specific needs.

The base system view templates match an associated view configuration. The templates contain the JSON used to give the necessary information for the card display and use. For example, the Attachment Search Template contains the following:
{
    "component": "sn-search-result-evam-card",
    "staticValues":  {
        "detailLabelType": {
            "translatable": false,
            "key": "inline"
        },
        "textHeaderLabelOne": {
            "translatable": true,
            "key": "Attachment"
        },
        "detailLabelOne": {
            "translatable": true,
            "key": "From:"
        }
    },
    "mappings": {
        "imageType": "doctype_image_type",
        "icon": "doctype_image",
        "imageURL":"doctype_image",
        "textHeaderLabelTwo": "doctype",
        "title": "ai_search_teaser_title",
        "summary": "ai_search_teaser_text",
        "detailValueOne":"parent_title"
    },
    "actionMappings": {
        "clickAction": "navigation",
        "footerLinkAction": "navigation_to_parent_record"
    }
}
The JSON structure has the following sections:
Template Description
component The card component name.
staticValues The static text mapping to component properties. These values have the following properties:
  • translatable – Determines whether the key text should be translated based on the user's language. Can be either True or False.
  • key – The value the property is set to.
mappings The mapping of the data source field to the component properties.
actionMappings The actions that you can associate with the card.

These view templates are ready to use and are meant to work with many use cases. You can also create or edit view templates to meet specific needs.