问题描述
我对脚本和编码很陌生,所以如果问题没有很好地阐述,我很抱歉。
我正在尝试使用可操作的消息/自适应卡片来整合多个工作流程/批准。
我想做的是将 this multi-approval sample 与 a table that can be based on arrays 和 nest actions inside each row 结合起来
然后,我想添加另一列,允许每行输入文本。
{
"schema": "http://adaptivecards.io/schemas/adaptive-card.json","type": "AdaptiveCard","version": "1.2","body": [
{
"type": "TextBlock","weight": "Bolder","size": "Medium","text": "Account Details","horizontalAlignment": "Left","separator": true
},{
"type": "ColumnSet","separator": true,"bleed": true,"spacing": "Padding","columns": [
{
"type": "Column","items": [
{
"type": "TextBlock","size": "Small","text": "Name","horizontalAlignment": "Center"
},{
"type": "TextBlock","wrap": true,"text": "${Name}","horizontalAlignment": "Center"
}
],"width": "stretch","padding": "None"
},{
"type": "Column","text": "Mobile No","text": "${MobileNo}","text": "Email","text": "${Email}","text": "Action Comments",{
"type": "Input.Text","horizontalAlignment": "Center","placeholder": "Row Text Input"
}
],"text": "Action 1",{
"type": "ActionSet","id": "83c38f73-a9f7-92e5-3f00-01a71a58beeb","actions": [
{
"type": "Action.Http","id": "5f1b97ca-da42-c6cf-4b70-b7533da3171b","title": "Approve","url": "https://messagecardplaygroundfn.azurewebsites.net/api/HttpPost?code=zJaYHdG4dZdPK0GTymwYzpaCtcPAPec8fTvc2flJRvahwigYWg3p0A=="
}
]
}
],"text": "Action 2","id": "a0263cb7-2ea3-ecd0-faf9-2829718f52b9","id": "d2c08e30-f1b6-4162-837f-7e254da1ba0b","title": "Reject","padding": "None","width": "auto"
}
],"padding": "None"
}
],"$schema": "http://adaptivecards.io/schemas/adaptive-card.json","padding": "None"
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)