图像共享表单示例是一个为共享已发布到 SharePoint 的照片而设计的自适应卡,这可能是要完成的过程的依赖项(如与检查、符合性和审核相关的过程)。 此卡是只显示的自适应卡。
输入/输出和注释
动态令牌名称(输入) | 占位符文本 | 注释 |
---|---|---|
acphotoTitle | {acphotoTitle} | 显示文本 |
acTimestamp | {acTimestamp} | 显示日期/时间 |
acImageThumbnail | {acImageThumbnail} | 显示图像 必须将此替换为有效的 URL |
acAltText | {acAltText} | 辅助功能备用文本 |
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "{acphotoTitle}",
"id": "Title",
"size": "Large"
},
{
"type": "TextBlock",
"text": "{acTimestamp}",
"size": "Medium",
"weight": "Lighter"
},
{
"type": "Image",
"altText": "{acAltText}",
"url": "{acImageThumbnail}"
}
],
"spacing": "None"
}