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 / Using JSON array/objec...
Power Apps
Answered

Using JSON array/objects in control Items property

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

 

I am trying to use the following data structure in the Items property of a drop down control.  When i have a single object, it works, when i have multiple objects it does not.

 

This works fine. 

{
 Role: "Exchange Administrator",
 Id: "nnnnn",
 Description: "Users with this role have global permissions within Microsoft Exchange Online."
}

 

This does not.

{
 "Roles":[
 {
 "Role":"role 1",
 "Id":"nnn",
 "Description":"something."
 },
 {
 "Role":"role 2",
 "Id":"nnn",
 "Description":"something else."
 }
 ]
}

 

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to connect the Dropdown control to a JSON String array?

     

    Based on the data structure that you mentioned, it is a JSON String array rather than a Object Table supported in PowerApps. If you want to use JSON String value as data source within the Dropdown control directly, I afraid that there is no way to achieve your needs in PowerApps currently.

     

    As an alternative solution, you could consider set the Items property of the Dropdown control to following formula:

    Table(
     {
     Role:"role 1",
     Id:"nnn",
     Description:"something."
     },
     {
     Role:"role 2",
     Id:"nnn",
     Description:"something else."
     }
    )

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Amazing, that works!

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