web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

[Adaptive cards] How to have ForAll within ForAll?

Posted on by 7
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
 

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 259

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 189 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 119

Last 30 days Overall leaderboard

Featured topics