Hi,
i need help on the adaptive card regard how "ForAll is within a ForAll"
i had read through
still dont understand, i create a simple version as below to test, but going no where,
guidance would be much appreciated!
sample data
{
"Table1": [
{
"sku": "fruits",
"records": [
{
"name": "apple",
"price": "$3"
},
{
"name": "grape",
"price": "$5"
}
]
},
{
"sku": "vegetables",
"records": [
{
"name": "potato",
"price": "$2"
}
]
}
]
}
the adaptive cards formula
{
type: "AdaptiveCard",
'$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
version: "1.0",
body: [
{
type: "Container",
items:
ForAll(Topic.Answer.Table1,
{
type: "TextBlock",
text: sku,
wrap: true
}
)
}
]
}
obtained result
how to show the records within each category? liket his
fruits
apple, 5
grape, 5
vebetables
potato, 2
thanks
Jonathan