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 Apps
Answered

Pop message

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have an app that change status on Work items with the patch function. My data source is Excel published on Onedrive. 

When the status change is completed I want a pop up message appears that says that the status change has been done succesfully. 

My confirm button that triggers the status change with the patch function

button patch.jpg

Below it is the pop up window I need help with:

pop up message.jpg

gobackbutton.jpg

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Are you asking for a general method to make the pop-up appear after the status change is completed?

     

    My general method is to create a variable that will indicate when the pop-up should appear.  Put this code in the OnStart property of your app.

     

    Set(popUpVisible,false);

     

    We want to show the pop up after the PATCH is completed.  Put this code in the OnSelect property of your confirm button as the last line of code

     

    Set(popUpVisible,true);

     

    The pop up should be hidden when the user clicks the OK button on the pop up.  Put this code in the OnSelect property of the OK button.

     

    Set(popUpVisible,false);

     

    Finally, put the variable into the Visible property of your pop up controls RectQuickActionBar_29, Button2, Label2.

     

    popUpVisible

     

    Hopefully this is what you wanted to do.  Please let me know if my method works.

     

    ---
    Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

  • rebeccas Profile Picture
    2,591 on at

    You can just use UpdateContext() to do this. 

     

    Screen OnVisible = UpdateContext({showPopup:false})

     

    On the submit button after your submit form put = UpdateContext({showPopup:true})

     

    The visible property for your popup group = showPopup

     

    and then the Ok button to close it is = UpdateContext({showPopup:false})

     

    It is pretty simple to do. Let me know if you have any trouble with it. 

     

    Also, Here are some ways you can do the popups with timers instead if you have the need:

     

    https://youtu.be/Ca5Fw6NxctQ

  • mdevaney Profile Picture
    29,993 Moderator on at

    Didn't know you had a Youtube channel @rebeccas.  I subscribed just now Cat Wink

  • rebeccas Profile Picture
    2,591 on at

    @mdevaney 

     

    Don't get too excited...I'm not great at videos and go through phases of posting them and then none for a while. Usually I just do them when someone ask a question I can't explain here well, I do a video and post it instead...lol

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to show up the Pop-Up message after you change the Status value successfully with Patch function?

     

    Based on the needs that you mentioned, I think the context variable could achieve your needs. I have made a test on my side, please take a try with the following workaround:

    1. Add the following formula after your Patch formula:

    ForAll(
     RenameColumns(Filter(Gallery1_8.AllItems, Checkbox1_17.Value = true), "ID", "ID1"),
     Patch(
     Tickets,
     LookUp(Tickets, ID = ID1),
     ...
     )
    );
    UpdateContext({ShowUpPop: true}) /* <-- Add this formula */

    Set the Visible property of the Group1 to following:

    If(ShowUpPop, true, false)

    Set the OnSelect property of the "OK" button (Button2) to following:

    UpdateContext({ShowUpPop: false})

    Please consider take a try with above solution, then check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-xida-msft It worked thanks a lot. 

     

    @rebeccas and @mdevaney thank you for your help. Sorry for late answer but I tried with your codes and I got some error. Probably It needed some small adjustement. I will for sure look at your videos Rebecca

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard