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 / framing and sending js...
Power Apps
Answered

framing and sending json from powerapps

(0) ShareShare
ReportReport
Posted on by 525

Hi Reader,

 

I'm having the data in different galleries and data tables. is there a way where we can pass all the data in a json to flow from the powerapps ?

 

below is the sample format which i want to send to a flow from powerapps gallery data

 

 

{
	"page":2,
	"per_page":6,
	"total":12,
	"total_pages":2,
	"data":[
		{
			"id":7,
			"email":"michael.lawson@reqres.in",
			"first_name":"Michael",
			"last_name":"Lawson",
			"avatar":"https://reqres.in/img/faces/7-image.jpg"
		},
		{
			"id":8,
			"email":"lindsay.ferguson@reqres.in",
			"first_name":"Lindsay",
			"last_name":"Ferguson",
			"avatar":"https://reqres.in/img/faces/8-image.jpg"
		},
		{
			"id":9,
			"email":"tobias.funke@reqres.in",
			"first_name":"Tobias",
			"last_name":"Funke",
			"avatar":"https://reqres.in/img/faces/9-image.jpg"
		},
		{
			"id":10,
			"email":"byron.fields@reqres.in",
			"first_name":"Byron",
			"last_name":"Fields",
			"avatar":"https://reqres.in/img/faces/10-image.jpg"
		},
		{
			"id":11,
			"email":"george.edwards@reqres.in",
			"first_name":"George",
			"last_name":"Edwards",
			"avatar":"https://reqres.in/img/faces/11-image.jpg"
		},
		{
			"id":12,
			"email":"rachel.howell@reqres.in",
			"first_name":"Rachel",
			"last_name":"Howell",
			"avatar":"https://reqres.in/img/faces/12-image.jpg"
		}
	],
	"support":{
		"url":"https://reqres.in/#support-heading",
		"text":"To keep ReqRes free, contributions towards server costs are appreciated!"
	}
}

 

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Krishna_R ,

     

    I did a demo for you.

    1\ Create a table in powerapps.

    Add a button control and set its onselect property to:

    ClearCollect(Col,{Column1:"A",Column2:3,Column3:Table({C1:"AA",C2:2},{C1:"BB",C2:5})},{Column1:"B",Column2:8,Column3:Table({C1:"CC",C2:8},{C1:"DD",C2:10})})

    vxiaochenmsft_0-1624262069121.png

    vxiaochenmsft_1-1624262075357.png

    vxiaochenmsft_2-1624262086093.png

     

    2\ Create an instant flow.

    vxiaochenmsft_3-1624262161363.png

    2: [{"Column1":"A","Column2":3,"Column3":[{"C1":"AA","C2":2},{"C1":"BB","C2":5}]}]

     

    3\ Add a button control and set its onselect property to:

    Test92.Run(JSON(Col))

     

    4\ The result is as follows:

    vxiaochenmsft_4-1624262228319.png

     

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

     

     

  • Krishna_R Profile Picture
    525 on at

    hi @v-xiaochen-msft ,

    thanks much. how can i loop the gallery items and add it under column3. any thought ?

     

    ClearCollect(Col,{Column1:"A",Column2:3,Column3:Table({C1:"AA",C2:2},{C1:"BB",C2:5})},{Column1:"B",Column2:8,Column3:Table({C1:"CC",C2:8},{C1:"DD",C2:10})})

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Krishna_R ,

     

    Maybe you could use ShowColumns(Gallery1.AllItems,"Column1","Column2")..

    For example:

    vxiaochenmsft_0-1624266421167.png

    vxiaochenmsft_1-1624266430163.png

    vxiaochenmsft_2-1624266438170.png

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

     

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard