cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BrianHFASPS
Level 8

Button OnSelect randomly stops working?

I deployed a new app today that is a revision of previous app. In all my testing and on previous app never had a problem with NextArrow in Gallery not working. Today it stopped working in some of my galleries randomly. In testing after production use it would work 75% of time but sometimes had to leave screen and come back. However on my dev preview it is working even less often. The action is:

UpdateIf('[dbo].[Pickup Tracking]',PickupUID=ThisItem.User_x0020_ID,{'Load Order':'Car Order'});Refresh('[dbo].[Pickup]')

When the users would press arrow the screen would reflect the press but then nothing would happen.

 

Anything break in back end? I don't think it is my code since it does work most of the time, just doesn't trigger all the time?

1 REPLY 1
BrianHFASPS
Level 8

Re: Button OnSelect randomly stops working?

I have watched users use the app for several days and I can see when and how the buttons stop working. In all cases if you swipe left and restart app the buttons immediately start working again. They stop working when the gallery is refreshed either by timer or by navigate to page reload but work fine when the button itself causes a reload?

 

This is button OnSelect:

UpdateIf('[dbo].[Pickup Tracking]',PickupUID=ThisItem.'User ID',{'Send Out Order':'Car Order'});Refresh('[dbo].[Pickup]')

This is the timer OnTimerEnd:

Refresh('[dbo].[Pickup]')

This is the home page button OnSelect to navigate:

Navigate('Inside MPR Screen', ScreenTransition.Fade); Refresh('[dbo].[Pickup]')

This happens for two different screens and their respective similar galleries. (The two screens are slightly different filters of same SQL View). Everytime if we swipe left and reopen app it works fine until the timer refresh. It doesn't fail 100% of the time on timer refresh but often enough to cause issues. Any suggestions?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 85 members 5,367 guests
Recent signins:
Please welcome our newest community members: