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 / Popup window doesn't s...
Power Apps
Answered

Popup window doesn't show up after successful submission

(0) ShareShare
ReportReport
Posted on by 22

Hello, 

 

I have created an app that stored photos to sql server. I created also a button with the below formula which stored the photos, refresh the view at database and navigate on other screen. However, everything works fine except for the PopUp window after the succesdful sumbission.  The PowerApps studio doesn't show me any error at my formula.

 

Here is the code of my button:

If(
 IsBlank(PreviewImg),
 Notify(
 "Take a photo!",
 NotificationType.Error
 ),
 Patch(
 '[dbo].[PhotosApp]',
 Defaults('[dbo].[PhotosApp]'),
 {
 PhotoImage: Camera.Photo,
 ContactId: MathitisDropdw.Selected.StudentID
 }
 );
 Refresh('[dbo].[v_PhotosApp]');
 UpdateContext({PopUp: true});
 Navigate(
 Screen1,
 ScreenTransition.Fade
 )
)

 

Also i have created a PopUp group which include the PopUp label, PopUp screeen and the button which close this window. At this group i wrote at OnSelect property: UpdateContext({PopUp: false}) and at Visible: PopUp. At the attach file you can see the image from the PopUp group.

 

What i made wrong and the Pop Up window didn't show up after the sumbission?

 

Thank you in advance.

 

 

 

PopUp.png
Categories:
I have the same question (0)
  • KickingApps Profile Picture
    628 on at

    @ericonline  -- isn't this similar to an issue you realized in one of your apps?  Did you figure out what was causing the issue?

  • Verified answer
    Ntinos Profile Picture
    22 on at

    I think i found it.

     

    In my app i have 2 screens. The PopUp group i created including the PopUp (screen , button and label) is at the first screen and the button which made the UpdateContext:true is at the second screen. The UpdateContext is o local variable and created at the first screen thus, the second screen didn't see it.

     

    My solution is to to recreate this group at the second screen and delete it from the first and it works perfectly.

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Right on. Yes, I had a similar issue recently. Things to check:

    • Using UpdateContext vs. Set for the SAME variable name
      • Sounds like you found your issue here
    • Setting a variable for popup INSIDE a Concurrent() function
      • This is where I found my issue. 
      • I moved the Set(varPopup, true) OUTSIDE the Concurrent() function and the popup began working correctly.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard