cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

UPDATE SELECTED ITEMS IN A POWERAPPS GALLERY

Hey community,

 

I have an app that I need to update the field status of the selected item through a PowerApps gallery, and I don't know how to do that, follow the screenshots:

 

 

Here I have some items selected and others not, but I want only the selected items to be updated, could someone help me?

 

flowbutton.png

 

 

Here my flow:

 

flow.png

 

5 REPLIES 5
Super User II
Super User II

Hi @Gorilla_8 

 

You need to pass the collection of selected values back to Power Automate. Then parse the values individually.

 

Here's an article I found that may help you:

https://www.inogic.com/blog/2020/05/how-to-pass-power-apps-collection-in-power-automate-using-json-f...

 

Can you please check if and let me know if you have any questions?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

 

Memorable Member
Memorable Member

Hey @Gorilla_8 

 

 

There is an action called Respond to PowerApps.

Tom_Slosse_0-1597745153870.png

 

Here you can send the information back to your PowerApp

 

Hope this helps

 

Kind regards

 

Tom



If this reply has answered your question or solved your issue, please mark this question as answered.

Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

First, thanks for the help @manuelstgomes !

 

And your flow works perfectly, because I used that same application for emails as taught, but now I would like to know how I can get the id to update the status of each item.

 

see my screenshoots below:

 

 

Here the function as you taught in "OnCheck":

onchaeck.png

 

Here the function as you taught in "UnCheck":

onuncheck.png

 

 

And finally on the button, but I don't know how it gets the item ID:

update item powerapps.png

 

And here the flow:

updateitemflow.png

 

 

I tried it with ID and other options, and it didn't work perfectly.

HI @Gorilla_8 

 

The "ThisItem.ID" is the identifier of the field. I noticed that you're assigning it to the user id. Is this what you want?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Hi @manuelstgomes 

Yes, I wanna update the status based on ID selected na galeria.

 

See my tests:

 

I got this result on  my flow, by calling the collection:

 

flow1.pngflow2.pngflow3.png

 

 

 

On my "OnSelect":

button.png

 

On my "OnUncheck":

onuncheck.png

 

On my "OnCheck":

oncheck.png

 

 

And the one item I selected:

select1.png

 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (17,358)