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 :
Power Platform Community / Forums / Power Apps / Compact JSON to collec...
Power Apps
Unanswered

Compact JSON to collection

(0) ShareShare
ReportReport
Posted on by 89

Hello all, 

 

I have reached to a stage where I store to a Text Column in SharePoint a compact JSON by using patch:

Patch('Purchase Requisition',{PRDetails1:JSON(colSubmit,JSONFormat.Compact)});

 

In the Text Column is stored text like the Below: 

 

[{"ColumnType":"Text","Data":"16/02/2023","Required":{"Value":"No"},"Title":"Item Description"},{"Choices":"N/A","ColumnType":"Text","Data":"1abc","Required":{"Value":"No"},"Title":"GL Code"},{"Choices":"N/A","ColumnType":"Number","Data":"15","Required":{"Value":"No"},"Title":"Quantity"},{"Choices":"Each;Pack;Days;Kg;Meters;Liters","ColumnType":"Choice","Data":"Each","Required":{"Value":"No"},"Title":"UOM"},{"Choices":"N/A","ColumnType":"Number","Data":"50","Required":{"Value":"No"},"Title":"Unit Price (VAT exc)"},{"Choices":"N/A","ColumnType":"Number","Data":"650","Required":{"Value":"No"},"Title":"Total Price (VAT exc)"}]

 

The only variables are the texts after "Data": 

 

How can I extract from this text (in a dynamic way) a collection which will have as columns: "Title"  &  "Data" and in rows their values. 

 

For example based on the text I need:

TitleData
Item Description16/02/2023
GL Code1abc
Quantity15
UOMEach
Unit Price (VAT exc)50
Total Price (VAT exc)650

 

Categories:
I have the same question (0)

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

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 > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard