cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (72,757)