cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cgreen1983
Level: Powered On

Patch Count Issue

Hi All,

 

I have an issue collecting data and patching. I have a gallery (1) which displays all orders made by staff. When selected, gallery (2) displays the items in the order. The user can select 1 or more of these items, which then display in pop-up gallery (7). Within gallery (7), the user can update the status of each item (ordered, on hold, cancelled etc). I have a button which then saves this info.

Within the button onselect, I have the attached collection code, which looks at whether gallery(7) includes any items which have been cancelled. If there is a cancelled item, the onselect patches an update to the order (gallery(1)), which then displays an icon. This is so the user can see if the order includes any cancelled items quickly, without having to select each order individually.

This collection and patch isn't working well; the collection starts to collect prior to gallery (7) updating, so it misses the items being updated and therefore does not display the cancelled icon correctly. Is there a way I can either (a) pause the collection until the gallery (7) has updated, or (b) find another way to do this.

 

Thanks,

 

Chris

1 REPLY 1
Community Support Team
Community Support Team

Re: Patch Count Issue

Hi @cgreen1983 ,

 

Could you please explain with some sample data about what you are trying to achieve exactly?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,433)