Metatietojen päivityksen korttimalli

Metatietojen päivitys -malli on mukautuva kortti, joka on suunniteltu antamaan työnkulun tekijöille mahdollisuus ilmoittaa tai päivittää Teams-jäsenet tai kanavat metatiedoilla, jotka liittyvät tietueeseen, tiedostoon tai aiheeseen. Tämä kortti on vain tietoja näyttävä mukautuva kortti. Syötekenttiä voidaan kuitenkin lisätä, jos jotakin odota vastausta -toimintoa käytetään sen luomiseen.

Tämä kortti koostuu kolmesta osasta:

  1. Aiheen otsikkoalue, jossa on otsikko, aliotsikko ja kuvaus.
  2. Asiaankuuluvan rivin metatietojen tietoluetteloalue.
  3. Sarakejoukko, joka tukee tietojen taulukkomatriisia.

Metadata-näyte.

Syötteet/tulosteet ja huomautukset

Dynaamisen tunnuksen nimi (syötteet) Paikkamerkkiteksti Huomautuksia
acHeader {Header} Näyttöteksti
acSubHeader {SubHeader} Näyttöteksti
acDescription Tekstiä latinaksi Näyttöteksti
acFact1 {acFact1} Näyttöteksti
acFact2 {acFact2} Näyttöteksti
acFact3 {acFact3} Näyttöteksti
acColumnSetHeader Otsikot 1–3 Näyttöteksti
Sarakejoukon ylätunnisteen näyttöteksti
acColumnSet Sarakkeet 1–3 Korvaa matriisi- tai sarakearvoilla.
{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.0",
    "body": [
        {
            "type": "TextBlock",
            "text": "Metadata Update Card",
            "weight": "bolder",
            "size": "large",
            "id": "acTitle"
        },
        {
            "type": "ColumnSet",
            "columns": [
                {
                    "type": "Column",
                    "width": "auto",
                    "items": [
                        {
                            "type": "TextBlock",
                            "text": "Sub Header Tag Line",
                            "weight": "Bolder",
                            "wrap": true,
                            "id": "acSubHeader"
                        }
                    ]
                }
            ]
        },
        {
            "type": "TextBlock",
            "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In condimentum leo lorem, at facilisis augue hendrerit eget. Praesent ut malesuada ipsum. Vivamus semper faucibus felis quis sagittis. Nunc pellentesque metus at nunc gravida, vitae volutpat sapien vehicula. Nulla lorem nibh, porttitor vel semper ut, ornare nec erat.",
            "wrap": true,
            "id": "acDescriptionArea"
        },
        {
            "type": "FactSet",
            "facts": [
                {
                    "title": "Fact 1:",
                    "value": "{acFact1}"
                },
                {
                    "title": "Fact 2:",
                    "value": "{acFact2}"
                },
                {
                    "title": "Fact 3:",
                    "value": "{acFact3}"
                }
            ],
            "id": "acFactSet"
        },
        {
            "type": "Container",
            "spacing": "Large",
            "items": [
                {
                    "type": "ColumnSet",
                    "columns": [
                        {
                            "type": "Column",
                            "items": [
                                {
                                    "type": "TextBlock",
                                    "weight": "Bolder",
                                    "text": "HEADER 1"
                                }
                            ],
                            "width": "stretch"
                        },
                        {
                            "type": "Column",
                            "items": [
                                {
                                    "type": "TextBlock",
                                    "weight": "Bolder",
                                    "text": "HEADER 2"
                                }
                            ],
                            "width": "stretch"
                        },
                        {
                            "type": "Column",
                            "items": [
                                {
                                    "type": "TextBlock",
                                    "weight": "Bolder",
                                    "text": "HEADER 3"
                                }
                            ],
                            "width": "stretch"
                        }
                    ]
                }
            ],
            "bleed": true
        },
        {
            "type": "ColumnSet",
            "columns": [
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "text": "Column 1",
                            "wrap": true,
                            "id": "acCol1"
                        }
                    ],
                    "width": "stretch"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "text": "Column 2",
                            "wrap": true,
                            "id": "acCol2"
                        }
                    ],
                    "width": "stretch"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "text": "Column 3",
                            "wrap": true,
                            "id": "acCol4"
                        }
                    ],
                    "width": "stretch"
                }
            ],
            "$data": "acDataContext"
        }
    ],
    "bleed": true

}