cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MeetBhatt
Regular Visitor

How to parse JSON in PowerApps?

Hello Everyone,

 

I have stored JSON data in SharePoint online list multi line and text column. I need to update that column in Power Apps form.

 

Can anyone help me for how to parse / stringfy the JSON data in Power Apps without using Flow?

Thanks & Regards,
Meet

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User
Super User

Hi @MeetBhatt 

Here's an example of how to do this with string substitution functions.

https://powerusers.microsoft.com/t5/Building-Power-Apps/Collect-JSON-data/td-p/683712

 

View solution in original post

6 REPLIES 6
timl
Super User
Super User

Hi @MeetBhatt 

Just to confirm, does your question relate to a portal app or to a canvas app? From how I read this, you have JSON data in a SharePoint field that represents a record or table structure, and you would like to modify this and to update the SharePoint field from a canvas app.

If that is the case, there is unfortunately no simple way to do this. There is however a post in the ideas forum with this suggestion, and you can vote for it here.

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Parse-JSON-in-PowerApps/idi-p/359563

Flow would be the best approach because the alternative would involve manually parsing the JSON data with regex or other string functions.

MeetBhatt
Regular Visitor

Hi @timl 

Thanks for your response

This question is related to canvas app. The SharePoint field data represents in record structure.

I need to show that JSON data into Power Apps List Screen.

 

Kindly refer below screenshot.

timl
Super User
Super User

Hi @MeetBhatt 

Here's an example of how to do this with string substitution functions.

https://powerusers.microsoft.com/t5/Building-Power-Apps/Collect-JSON-data/td-p/683712

 

View solution in original post

askondo
Community Support
Community Support

@timl Thank you for always participating in the forum and for your valid answers.

timl
Super User
Super User

Thanks @askondo - I appreciate that! It's a pleasure to help out where I can.

MeetBhatt
Regular Visitor

Hi Everyone,

i have some queries in PowerApps Component Framework. I have added 2 posts in Microsoft Forum. But, no one replies me on that posts. Hope you help me on the same.

Kindly refer below links of my forum posts
https://powerusers.microsoft.com/t5/Building-Power-Apps/Unable-to-add-PCF-Component-in-PowerApps/m-p...

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Custom-PowerApps-Components-and-integrate-with-...

Thanks & Regards,
Meet Bhatt

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,720)