I have Saved the Choice list in a variable (VarChoiceSet)
“choiceSet”: [
{
“title”: “Option 1”,
“value”: “option1”
},
{
“title”: “Option 2”,
“value”: “option2”
},
{
“title”: “Option 3”,
“value”: “option3”
}
]
Below is my Adaptive card Json(Formula)
{
type: “AdaptiveCard”,
version: “1.5”,
body: [
{
type: “TextBlock”,
text: “Employee Information”,
weight: “bolder”,
size: “large”
},
{
type: “TextBlock”,
text: “Employee Name: ” & Topic.VarOutput.employeeName,
separator: true
},
{
type: “TextBlock”,
text: “Employee ID: ” & Topic.VarOutput.employeeID,
separator: true
},
{
type: “TextBlock”,
text: “Department: ” & Topic.VarOutput.employeeDepartment,
separator: true
},
{
type: “TextBlock”,
text: “Tasks”,
weight: “bolder”,
size: “medium”,
separator: true
}
]
}
I tried binding Choiceset in below format.
{
type: “Input.ChoiceSet”,
id: “taskChoice”,
style: “compact”,
choices: “${Topic.VarChoiceSet}”,
separator: true
},
But the adaptive card is not loading
Sachin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.