How To Use App.OnStart Property for Microsoft Canvas Apps in the Power Platform


When building Canvas Apps, it is important to ensure smooth initialization for performance and user experience. The App.OnStart property is used to execute instructions as soon as the app launches, such as defining global variables, caching data, and retrieving stored values. However, Microsoft has introduced the StartScreen property to handle navigation more efficiently. This article explores the best ways to use App.OnStart, why StartScreen is now preferred for navigation, and how to transition away from outdated practices. By using StartScreen for navigation, apps load faster, behave more predictably, and are easier to debug, resulting in a better user experience.


Article 2w

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time