cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MikeLSS
Frequent Visitor

How to move to the Home screen of the user's device

Hi All,

 

In our scenario, at the end of my OnSelect code, I need it to end by switching to the Home screen of the user's device. Is it possible? If so, can you tell me how to code that?

 

Thanks in advance.

2 REPLIES 2
RezaDorrani
Dual Super User II
Dual Super User II

Hi @MikeLSS 

 

I am assuming you want to exit the current PowerApp

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-exit

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Thanks, Reza, but I tried the Exit function.  It helped a little bit, but it remains in the app list in PowerApps.

 

I want it to go to the Home screen of the device's OS.  Currently, I use 

Lauch(https://www.google.com/)

It works, but I prefer to going to the Home screen.

 

What I'm trying to do is to receive a notification from another app that uses the PowerAppsNotification.SendPushNotification() connection.

 

I put code in the OnStart property like this:

Navigate(
    MP_PhotoScreen1,
    None,
    If(
        !IsBlank(Param("notifKey")),
        {
            StartPage1: false,
            RequestID: Param("notifKey")
        },
        {StartPage1: true}
    )
)

However, unless this app is close and PowerApps is inactive, the notification isn't triggerered.

If you know another workaround, also please let me know.

 

Mike

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,729)