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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,801)