Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Timing for popup alerts

Like (0) ShareShare
ReportReport
Posted on 23 Jan 2022 06:14:00 by 7

Team,

 

I have created a popup in power apps, where in the popup is displayed  after a mail is sent. The visible property of the popup is set  to a variable and when the mail is sent the UpdateContext({vart:true) function is used to show the popup. This is working fine. However i want the popup to show only for say 5 seconds and then fade away or reset. Can this be done?

 

Right now the app has to be reset or logged in again to get the popup to go away. Also i have another popup before this and that goes away as the final step in that popup uses the UpdateContext({vart:false) function. hence it woks fine. 

 

The popup in context here is a text box and one icon grouped together. The visible property is set as varMailSnt (the variable)

 

My question is.... is there a way to set a preset amount of time before a popup can be made invisible without any user input?

  • power_addict Profile Picture
    7 on 23 Jan 2022 at 07:36:06
    Re: Timing for popup alerts

    Thanks a lot  warren. I will try this solution and advise the outcome.

  • WarrenBelz Profile Picture
    146,947 Most Valuable Professional on 23 Jan 2022 at 06:38:45
    Re: Timing for popup alerts

    Hi @power_addict ,

    The only way would be with a Timer set the timer Start to a Variable (varTimer used below) and also the pop-up at the same time - on  your trigger

    UpdateContext(
     {
     varTimer:true,
     vart:true
     }
    )

    Set the Timer Duration for 5000 and OnTimerEnd

    UpdateContext(
     {
     varTimer:false,
     vart:false
     }
    )

    You can hide the Timer, but it must be on the same screen

     

    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 the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 60

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard
Loading started