web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to avoid notificat...
Power Apps
Answered

How to avoid notification pile up?

(2) ShareShare
ReportReport
Posted on by 51
I have a gallery in my application and in the on select property of the gallery, I have set a code that notifes the users and the form control, connected to my gallery will switch to Edit Mode. 
 
EditForm('Inspection Form_2');
Notify("You are editing a previously submitted inspection entry",NotificationType.Information);
 
When I play the app, it is working, even if I click multiple times on the gallery, the same notification is getting replaced by the previous one. However, when I publish the app and try the app using the link, notification is getting piled up one after the other(see screenshot).
 
 
How can I rectify this? 
 
 
Thanks 
 
 
 
 
Categories:
I have the same question (0)
  • Verified answer
    Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at
     
    It's easy to resolve. 

    that the issue doesn't come is normal. You always need to play the published app to have the same experience as the end user. 
     
    So in your Notify function you haven't added a timeout time that means, that the notification stays there indefenatly until you close it. By adding a Timout time it closes on its own after a given amount of time. That should prevent the stocking of the notifications. 
     
    So you would change the formula to this: 
    // for the notification to stay 5 seconds
    EditForm('Inspection Form_2');
    Notify("You are editing a previously submitted inspection entry",NotificationType.Information,5000);
     
    You can find more about this function here
     

    If this solved your problem, please mark it as Solved to help others find the solution faster.
    If you found it helpful, consider giving it a Like to support each other in this community!

    Thanks, and happy building!

  • CU25110749-0 Profile Picture
    51 on at
    @DBO_DV Accoring to the link that you shared (Notify function - Power Platform | Microsoft Learn), by default the time is taken as 10 seconds and if the user clicks the button again multiple times,  the same notification stays  and the timer should restart after every click. Am I right? 
     
    In my case, when I play the app thats working good. but when I publish the app and  access the app as an end user, on select of the button for the first time a notification appears and it is gerting displayed for 10 seconds and if I click the button twice then, the same notification is displayed twice (stacked one after the other) and before the 10 seconds ends If I click the button for the third time, then I could see three notification staked one after the other.  The first notification disappers after 10 seconds. similarly for the second and the third notification. 
     
    What I expect to have is, If you select the button for the second or third time, I do not want the notification to be stacked one after the other instead I want the the same notification to stay and just the timer  needs to be reset. 
     
     
  • Suggested answer
    Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at
     
    This ,is not possible witgh the Notify functions. What you could do to achieve this is creating an own pop up. 
    There for you would create a small visuel with a text. 
    When clicking the button a context variable gets set to true that will make the pop up visible and a timer gets set (Timer is invisible or outisde of the screen). 
    If the button gets clicked again set either the variable to false if the problem is solved or reset the timer. 
     
    When the timer ends set the variable also to false. 
     

    If this solved your problem, please mark it as Solved to help others find the solution faster.
    If you found it helpful, consider giving it a Like to support each other in this community!

    Thanks, and happy building!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard