Loading...

Deep Dive into App.StartScreen and App.OnStart: Leveraging Powerful Navigation and Initialization in Canvas Apps

Deep Dive into App.StartScreen and App.OnStart: Leveraging Powerful Navigation and Initialization in Canvas Apps

If you're interested in building custom applications quickly and easily, then canvas apps might be the solution you need. With their low-code approach to app development, you can create data collection forms, process automation, data visualization, and more. As Microsoft continues to add new features and improvements to canvas apps, this blog post delves into two important properties of the App object: App.OnStart and App.StartScreen.

App.OnStart is used for one-time initialization and global app-level settings. It's crucial for performing initialization work, retrieving data, determining which screen will be displayed first, and more. However, if not optimized adequately, it can cause performance problems. This is because App.OnStart often includes dependencies on external resources or synchronous actions that require waiting for a response. With large amounts of data or multiple iterations, performance issues can significantly impact app performance.

To address these problems, Microsoft has introduced a new property: App.StartScreen. This property is a declarative method for setting the first screen that is shown when the app starts and improves loading speed while providing a better user experience. This property is a subset of App.OnStart, and you can use it to simplify the lifecycle of the app, avoid common pitfalls, optimize Power Apps, and write less code.

Overall, by using both properties effectively, you can significantly improve the performance of your canvas apps. App.OnStart plays a crucial role in global app-level settings, whereas App.StartScreen improves loading speed and provides a better user experience. Combining these two properties allows you to create canvas apps that are efficient, effective, and engaging for your users.

Published on:

Learn more
Power Platform , D365 CE & Cloud
Power Platform , D365 CE & Cloud

Dynamics 365 CE, Power Apps, Powerapps, Azure, Dataverse, D365,Power Platforms (Power Apps, Power Automate, Virtual Agent and AI Builder), Book Review

Share post:

Related posts

Power App Component Overview : Canvas App vs Model-Driven App

The Power Platform, a suite of low-code/No-code tools and technologies developed by Microsoft, includes a component called Power Apps. This pl...

1 year ago

Canvas Apps: App vs Screen

When building Power Apps canvas apps, it's important to understand the difference between an "app" and a "screen." An app is the entire applic...

1 year ago

Host Object Demystified: Your Power Apps Companion

If you're a Power Apps developer looking to interact with the hosting environment and access its functionalities and resources, host objects a...

1 year ago

Microsoft Power Apps: Grouping Elements Together

If you're looking to enhance your app development process in Microsoft Power Apps, this tutorial is a must-read. In this tutorial, you'll lear...

7 months ago

Why 500 matters for Canvas Apps?

If you're running into issues with Canvas Apps, there's a good chance you've hit the 500 control limit. While it's tempting to think of this a...

1 year ago

How to check if a user is part of Office365Group in Power Apps canvas apps

Are you looking to check whether a user is part of an Office 365 Group in your Power Apps Canvas app? Look no further! This blog post has got ...

2 years ago

New Alternative of Navigate() function on App.StartScreen and App.OnStart in Canvas apps

If you've ever faced issues while writing code for Navigation in App.StartScreen and App.OnStart of App within PowerApps, this post may be of ...

2 years ago

PCF to upload excel data to Canvas App in Power Apps

In this informative #PowerShot tutorial, you'll learn how to leverage the new Upload Excel PCF developed by @agarwal_ritika and team. ...

3 years ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy