![](/img/trans.png)
[英]Input.ChoiceSet inside Action.ShowCard card not working #361
[英]Use AdaptiveCard form value of Input.Choiceset as a messageback on Submit button
我有一個自適應卡,它顯示一個選項集中的管道列表,我想使用所選管道的值作為選擇提交按鈕時向團隊發送的消息。 如何訪問 Input.Choiceset 的 id 值?
這是提交操作的片段 -
"actions": [
{
"type": "Action.Submit",
"title": "Execute",
"data": {
"msteams": {
"type": "messageBack",
"text": "" (Choiceset value here)
}
}
}
]
這是 Choiceset 片段 -
{
"type": "Input.ChoiceSet",
"id": "pipelineSelect",
"choices": "${list}",
"placeholder": "pipelines"
}
最近有一個類似問題的答案可能會有所幫助。 查看如何使用 messageBack 或 imBack 從 ChoiceSet 回顯用戶選擇選項集? . 此外,查看有關CardAction類的更多信息以及此博客文章可能會有所幫助 - 請參閱“團隊中的卡片操作”部分,其中甚至描述了一些更高級的 messageBack 選項。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.