Metatietojen päivityksen korttimalli
Metatietojen päivityksen malli on mukautuva kortti, joka on suunniteltu siten, että työnkulun tekijät voivat ilmoittaa Teamsin jäsenille tai kanaville tietueeseen, tiedostoon tai aiheeseen liittyvistä metatiedoista tai tehdä niihin liittyvän päivityksen. 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:
- aiheen otsikkoalue, jossa on otsikko, aliotsikko ja kuvaus
- asiaankuuluvan tietueen metatietojen tietoluetteloalue
- sarakejoukko, joka tukee tietojen taulukkomatriisia
Syötteet/tulosteet ja huomautukset
Dynaamisen tunnuksen nimi (syötteet) | Paikkamerkkiteksti | Muistiinpanot |
---|---|---|
acHeader | {Header} | Näytä teksti |
acSubHeader | {SubHeader} | Näytä teksti |
acDescription | Tekstiä latinaksi | Näytä teksti |
acFact1 | {acFact1} | Näytä teksti |
acFact2 | {acFact2} | Näytä teksti |
acFact3 | {acFact3} | Näytä teksti |
acColumnSetHeader | Otsikot 1–3 | Näytä 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
}