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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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