Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Need to show short description instead of number in EVAM view template

lucky24
Tera Contributor

Hi Team ,
I am working on the EVAM view template and there I need to show a short description instead of the number.
Can someone please let me know where I need to change in the code?

lucky24_0-1729076073802.png

{
    "component": "sn-search-result-evam-card",
    "staticValues": {
        "imageType": {
            "translatable": false,
            "key": "icon"
        },
        "icon": {
            "translatable": false,
            "key": "bundle-outline"
        },
        
        "textHeaderLabelOne": {
            "translatable": true,
            "key": "Requested Item"
        },
        "detailLabelOne": {
            "translatable": true,
            "key": "State:"
        },
        "detailLabelTwo": {
            "translatable": true,
            "key": "Stage:"
        },
        "detailLabelThree": {
            "translatable": true,
            "key": "Requested For:"
        },
        "detailLabelFour": {
            "translatable": true,
            "key": "Opened By:"
        },
        "detailLabelFive": {
            "translatable": true,
            "key": "Opened:"
        },
            "detailLabelSix": {
            "translatable": true,
            "key": "Short Description:"
        },
        "detailLabelSeparator": {
            "translatable": false,
            "key": "|"
        },
        "detailPosition": {
            "translatable": false,
            "key": "above"
        },
        "requireLabelAndValue": {
            "translatable": false,
            "key": "true"
        }
    },
    "mappings": {
        "textHeaderLabelTwo": "number",
        "detailValueOne": "state",
        "detailValueTwo": "stage", 
        "detailValueThree": "requested_for.name", 
        "detailValueFour": "sys_created_by", 
        "detailValueFive": "sys_created_on",
        "detailValueSix": "short_description", 
        "titleLabel": "ai_search_teaser_title",
        "attachments": "child_docs"
    },
    "actionMappings": {
        "clickAction": "navigation"
    }
}

Thanks ,
Lucky

 

0 REPLIES 0