cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aaedla
Helper V
Helper V

Delay or Pause function on application start

Hi,

 

I am trying to redirect application when loads so I used below function OnStart and it's working fine but I would like to add delay or pause, so I would like to know is it possible to pause before it redirects.Any help would be greatly appreciated.

 

Launch("New Site URL", {q: "New Site Name"}, LaunchTarget.Replace)

 

Thank you,

1 REPLY 1
happyume
Super User
Super User

Instead of App OnStart, on your 1st screen you can have a label saying Redirecting....

 

Then have a hidden TimerControl

 

Set the duration of TimerControl to be the delay you want to add

Make sure your timer starts automatically

 

OnTimerEnd - put the code for Launch()

happyume_0-1631337184020.png

 

happyume_1-1631337204613.png

 

happyume_2-1631337237225.png

 



Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,127)