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 / Button Visibility issu...
Power Apps
Answered

Button Visibility issue with Navigate()

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I created a "submitted" button to appear after pressing a different "submit" button. It appears for like half a second but then disappears. I believe this is because I have OnStart for the power app to navigate to the edit screen. I need to keep this functionality. Is there any way around this?

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    Can you share how you are creating this "submitted" button, including the applicable code? I've seen these kinds of notifications done with a navigate to a short-lived splash screen or using the Notify function, but I am not quite sure which mechanism you are using.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    yes. I made a submitted button and set visibility to If(ShowPopUp, true, false). For the submit button i set onselect to Set(ShowPopUp, true)

  • BCLS776 Profile Picture
    8,994 Moderator on at

    OK, so something happening shortly afterwards in your app is toggling ShowPopUp back to false very quickly. Can you find and share that?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    i cannot. I assume that it is because onStart is set to NewForm(EditForm1);Navigate(EditScreen1, ScreenTransition.None)

  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    OK, in the studio, press the Variables menu choice:

    BCLS776_0-1624550204388.png

    Select your variable (ShowPopUp):

    BCLS776_1-1624550262686.png

    You'll get a list of all the places in your app it is mentioned:

    BCLS776_2-1624550313705.png

    Can you post that info?

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    mwintersparker_0-1624554904203.png

     

  • BCLS776 Profile Picture
    8,994 Moderator on at

    OK, while nothing is turning ShowPopUp to false directly, the call of Back() in the OnSuccess property is quickly changing the screen as soon as your form successfully submits. This makes your button vanish as soon as the screen changes. It sounds like this is not the behavior you are after. Can I suggest?:

    • Use the OnSuccess as a way to Navigate to a new success screen
    • On your success screen, put your success message up
    • Depending on how you like your UI, place a button that when clicked will Navigate or Back the user to an appropriate screen, or hide a timer (AutoStart true) on the screen and set its OnTimerEnd property to do the navigation you are after

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard