メタデータ更新 サンプルは、フローの作成者が、レコード、ファイル、またはトピックに関連するメタデータを使用して、Teams メンバーまたはチャネルに通知または更新できるように設計されたアダプティブ カードです。 このカードは、表示用のみのアダプティブ カードです。 ただし、応答を待機 アクションのいずれかを使用して作成した場合、入力フィールドが追加されることがあります。
このカードは、次の 3 つのセクションで構成されます。
- ヘッダー、サブヘッダー、および説明を含むトピック ヘッダー領域。
- 関連する行メタデータのファクト リスト領域。
- データのテーブル配列をサポートする列セット
入力/出力とメモ
動的トークンの名前 (入力) | プレースホルダー テキスト | メモ |
---|---|---|
acHeader | {Header} | テキストの表示 |
acSubHeader | {SubHeader} | テキストの表示 |
acDescription | ラテン語テキスト | テキストの表示 |
acFact1 | {acFact1} | テキストの表示 |
acFact2 | {acFact2} | テキストの表示 |
acFact3 | {acFact3} | テキストの表示 |
acColumnSetHeader | ヘッダー 1 から 3 | 表示テキスト 列セット ヘッダーの表示テキスト |
acColumnSet | 列 1 から 3 | 配列または列の値に置き換えます。 |
{
"$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
}