cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gorilla_8
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
manuelstgomes
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

 

Tom_Slosse
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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,105)