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 / Changing Home Screen C...
Power Apps
Unanswered

Changing Home Screen Causes Issue with On Start Actions

(1) ShareShare
ReportReport
Posted on by 112

When replacing the original Home Screen with another screen, where the original contains On Start actions, the app continues to reference the original Home Screen for the App.OnStart function. In fact, if the original Home Screen is deleted and the new Home Screen contains the same On Start actions, they are not executed and any variables or collections are blank/empty.

 

This is definitely a bug.

 

2018-09-14_11-10-14.png2018-09-14_11-29-57.png

 

 

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @GringoInMiami,

     

    Thanks for the feedback.

    It seems the OnStart property will not work consistently with the screen action, like duplicate, delete or move up/down.

     

    Please consider switch to Onvisible property as a temporary workaround.

     

    I will send the feedback regarding the OnStart property from my side, and update here if I have got any response back.

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Have seen this as well.

     

    The most common "work around" to things like this is to Save the app in studio, exit, and reload.

     

    Unfortunately I find myself doing this several times a day to work around some of the quirks like this (and there are a number of them) where things that did work suddenly don't.  But a reload of studio often seems to resolve many of them.

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @GringoInMiami,

     

    Thanks @Anonymous for the reminder. The symptom should be fixed after a reload. So it is recommended to take re-check the configured formula after a reload.

     

     

    The OnStart property has the following explanation documented:

    Quoted:

    "

    OnStart â€“ The behavior of the app when the user opens the app.

    • The formula to which this property is set runs before the first screen of the app appears. Call the Navigate function to change which screen appears first when the app starts.
    • You can't set context variables with the UpdateContext function because no screen has appeared yet. However, you can pass context variables in the Navigate function and create and fill a collection by using the Collect function.
    • When you update an app, the formula to which this property is set runs when the app is loaded into PowerApps Studio. To see the impact of changing this property, you'll need to save, close, and reload your app.
    • The OnStart property is actually a property of the app, not the screen. For editing convenience, you view and modify it as a property on the first screen of your app. If you remove the first screen or reorder screens, this property may become hard to find. In this case, save, close, and reload your app, and the property will reappear as a property of the first screen.

    "

    Regards,

    Mcihael

  • FU Microsoft Profile Picture
    112 on at

    I've already tried all the suggestions but the issue remains. The ONLY solution I've found so far is to rename the variables and collections.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard