Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Refresh or start app again when click on Dashboard screen

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

How can set up refresh or start app again when click on Dashboard screen?

 

Thanks.

Categories:
  • Verified answer
    Gerard Simpson Profile Picture
    Gerard Simpson 2,987 on at
    Re: Refresh or start app again when click on Dashboard screen

    @kinghnvn - I have discovered why the replace browser tab was not working for me. The code should be changed to the following i.e. replace the "" with {} as follows:

     

    Launch("your_app_URL", {}, LaunchTarget.Replace)

     

    This also allows you to remove the exit function.

  • Verified answer
    Gerard Simpson Profile Picture
    Gerard Simpson 2,987 on at
    Re: Refresh or start app again when click on Dashboard screen

    Hi @kinghnvn 

     

    You can add this to the 'OnSelect' property of your chosen control, which will restart the app for the user:

     

    Launch("https://apps.powerapps.com/your_app_URL", "", LaunchTarget.Replace);
    Exit()

     

    LaunchTartget.Replace is supposed to replace the current browser tab you are on, but it wasn't working for me, it was just loading the app in a new tab and navigating to that new instance of your app, with the original one still there - so to close the loop, I have added the exit function, which returns the old browser tab back to the Office 365 home page.

     

    Hope this helps in some way - Good luck!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard