OnStart property of the App not available in Power Apps canvas apps

Welcome to my blog and today I am going to share another tip that may help while you are working with Power Apps.

This one is fresh out of experience from a project. We were developing a new Canvas app and all one of the developers informed me that they are not able to find the OnStart property of the App object.

If you are wondering what I am talking about, it’s this property.

OnStart property not visible in Canvas apps

When I heard this, my first hunch was the developer might not be looking at the right control. But when I myself went and saw, I could not find the property.

A little bit of searching in Microsoft Docs and I could find the this link. Below is an excerpt from the same link.

The use of OnStart property can cause performance problems when loading an app. We’re in the process of creating alternatives for the top two reasons for using property—caching data and setting up global variables. We’ve already created an alternative for defining the first screen to be shown with Navigate. Depending on your context, this property may be disabled by default. If you don’t see it, and you need to use it, check the app’s Advanced settings for a switch to enable it

For performance reasons the OnStart property this property may be disabled by default. So we need to enable this. For that, we need to enable the option – “Enable App.OnStart property

OnStart property not visible in Canvas apps

And there you go. The App OnStart property will now be visible.

Hope this helped. You will also like the below posts.

Debajit Dutta
Business Solutions MVP