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 / Need SharePoint list i...
Power Apps
Unanswered

Need SharePoint list into JSON or collection then dropdown of column names in Power Apps and display values just from that SharePoint column

(0) ShareShare
ReportReport
Posted on by 24

I need to import SharePoint list into JSON or Power Apps collection (or something else) then have a dropdown of column names in Power Apps and display values just from that SharePoint column. This needs to be automatically updated as people add new columns in SharePoint- I don't want a hard code solution to this. With the new ParseJSON functionality, I wonder if this can be used somehow to extract column names, have these as items in a dropdown list then show user the contents of that column imported from SharePoint?

 

For example if you had a SharePoint list like this:

TitleTask 1Task 2Task 3
Person 1ExpertBeginnerAverage
Person 2ExpertAverageAverage
Person 3BeginnerBeginnerBeginner

 

then I'd want this data brought into Power Apps and allow user to choose from Dropdown Task1, 2,3 then it would show the data for that and allow the user to then filter further on this for when = Expert, for example if they choose Task 1 in drop down and filter for Expert the app would show:

Person 1Expert
Person 2 Expert
Categories:
  • LuizVicente Profile Picture
    984 Super User 2024 Season 1 on at

    Any obligation to receive the data in JSON? If you have nothing stopping you, you can simply connect the SP list to the application and create a collection of the data (this would be more obvious).

    Like this:

    ClearCollect(
     ColSpList,
     SharePointList
    );
    
    // or, to not load unnecessary data:
    ClearCollect(
     ColSpList,
     DropColumns(
     SharePointList,
     "Column1",
     "Column2",
     ...
     )
    )

     

    Then, in Dropdown.Items:

    ColSpList.Column


    This way, in the OnVisible property of the screen that will contain the information, update the collection to always get newer information. Or do the update in App.OnStart. One way or another, always think about usability, since loading a lot of data directly influences the app.


    Personal opinion:
    - I wouldn't use ParseJSON since it's still experimental. It could break your app;
    - Power Apps and JSON data don't play well together. I understand why so far, but going forward, they could implement a faster way to get data from an API, for example, from the SP itself in JSON. Much faster. Then yes, the ParseJSON function would make sense.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard