cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lesotho_kid
Helper II
Helper II

Display JSON data in table or data grid

Hello,

 

We have a SQL Server table which has a JSON field.  Each row has different (but correctly formatted) JSON results. 

Is there a way for PowerApps to display the JSON field data for a single row in a table or grid?  We need it to dynamically update as each JSON dataset may be different.

 

Thanks 

Dan

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @lesotho_kid ,

 

Unfortunately, Response JSON schema is always required, otherwise, only a true Boolean value passed to PowerApps like below.

Snipaste_2020-12-03_16-07-48.png

Hence, I'm afraid there is no way for now to pass each JSON field in different formats since JSON schema is hardcoded and specific.

 

Sik

View solution in original post

2 REPLIES 2
gabibalaban
Super User II
Super User II

Hi @lesotho_kid ,

Create a simple flow with your JSON field as parameter( you have to define a correct/complete schema for your JSON):

gabibalaban_0-1606894552225.png

and collect the results into a collection (it will be a collection with only one row, i guess).

ClearCollect(myResultCollection, myFlow(selectedJSONfield))

 

Hope it helps !

 

 

v-siky-msft
Community Support
Community Support

Hi @lesotho_kid ,

 

Unfortunately, Response JSON schema is always required, otherwise, only a true Boolean value passed to PowerApps like below.

Snipaste_2020-12-03_16-07-48.png

Hence, I'm afraid there is no way for now to pass each JSON field in different formats since JSON schema is hardcoded and specific.

 

Sik

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (93,349)