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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Bind complex json to l...
Power Apps
Answered

Bind complex json to label and dropdown of gallery in canvas app.

(0) ShareShare
ReportReport
Posted on by 15

I have below json output 
[
{
"moduelName": "test module",
"instructorinfo": [
{
"instructorName": "test test",
"instructorId": "1931dec0-c1ba-ee11-9078-6045bdd0ed08"
}
]
},
{
"moduelName": "test module1",
"instructorinfo": [
{
"instructorName": "test test",
"instructorId": "1931dec0-c1ba-ee11-9078-6045bdd0ed08"
},
{
"instructorName": "test test",
"instructorId": "1931dec0-c1ba-ee11-9078-6045bdd0ed08"
}
]
}
]
My requirement is On the gallery two control are there label and dropdown. On label I want to show each module name and on the dropdown I want to show the  associate instructor name . for example for first module it will  show the "test module" and only 1 instructor in dropdown and for other module it will show the "test module1" and 2 instructor in dropdown.

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,798 Super User 2026 Season 1 on at

    Hi @Shubham_Koolwal ,

     

    In a test I set your JSON string as the text in a Text Input control (TextInput1) so I could reference it.

     

    Then I added a gallery and set its' Items property to:

    Table(ParseJSON(TextInput1.Text))

    Inside the gallery, I used the below for the Text property of a label to display the module:

    Text(ThisItem.Value.moduelName)

    And finally for the dropdown I set its' Items property to:

    ForAll(ThisItem.Value.instructorinfo,{instructorName: Text(ThisRecord.instructorName), instructorId: Text(ThisRecord.instructorId)})

     

    This gave me the below result:

    BCBuizer_0-1706271190675.png

     

    For reference and credits: I used this article to get to this solution: https://devoworx.net/powerapps-parse-json-examples/

  • Shubham_Koolwal Profile Picture
    15 on at

    Yeah super, working as expected. Thank you so much.

Under review

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

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard