Power Apps Training Wheels
Power Apps
Jun 26, 2023 9:00 AM

Power Apps Training Wheels

by HubSite 365 about Darren Neese (PowerApps Tutorial)

Power Apps Trainer at Neeseus

Is Power Apps too hard for you? Why don't you try training wheels to make it easier?

To start working with Microsoft Power Apps, there are several key areas you need to learn. Here's a suggested learning path to get started:
 
1. Understand the Basics:
   - Familiarize yourself with the concept of low-code development and the purpose of Power Apps.
   - Learn about the Power Apps ecosystem, including Canvas Apps and Model-Driven Apps.
   - Explore the Power Apps interface and navigation.
2. Data Sources and Connectors:
   - Learn how to connect Power Apps to various data sources like SharePoint, Excel, Common Data Service (CDS), and external databases.
   - Understand the available connectors and how to configure them.
3. Designing Canvas Apps:
   - Learn how to create canvas apps using the Power Apps Studio.
   - Explore the building blocks of a canvas app, including screens, controls, galleries, forms, and data tables.
   - Understand how to customize the user interface and design app layouts.
   - Learn about formulas and expressions used for app logic, data manipulation, and validation.
4. Building Model-Driven Apps:
   - Gain an understanding of the model-driven app framework and how it differs from canvas apps.
   - Learn how to create and customize model-driven apps using the Power Apps portal.
   - Explore entities, fields, forms, views, and other components specific to model-driven apps.
5. Power Apps Components and Controls:
   - Learn about pre-built components and controls available in Power Apps, such as charts, galleries, forms, and media controls.
   - Understand how to configure these controls and customize their behavior.
6. Power Automate Integration:
   - Gain knowledge of Power Automate (formerly known as Microsoft Flow) and its integration with Power Apps.
   - Learn how to automate business processes and trigger flows from within Power Apps.
7. Security and Permissions:
   - Understand how to manage security and permissions within Power Apps.
   - Learn about the Power Platform security model and how to configure roles and access levels.
8. Deployment and Administration:
   - Gain knowledge of the different environments and environments management within Power Apps.
   - Learn how to deploy apps to different environments and control the app lifecycle.
   - Understand the basics of app governance, versioning, and app distribution.
Microsoft provides comprehensive documentation, tutorials, and learning resources on the Power Apps website (https://powerapps.microsoft.com/). It's recommended to explore these resources to enhance your understanding and proficiency with Power Apps. Additionally, you can also join the Power Apps community forums and engage with other users to learn from their experiences and ask questions.
 
Here are some key tips and best practices to improve the performance of your Power Apps application:
  1. Limit data connections: Try not to use more than 30 connections in a single app. Each additional connection increases the time it takes for the app to start and requires CPU resources, memory, and network bandwidth when the app requests data from that source.

  2. Limit the number of controls: Don't use more than 500 controls in a single app. Instead, consider using a gallery instead of individual controls, and reduce the number of different control types on the same screen.

  3. Optimize the OnStart property: You can use the ClearCollect function to cache data locally if it doesn't change during the user session. Also, use the Concurrent function to load data sources simultaneously; this can cut the app's data load time in half.

  4. Cache lookup data: Use the Set function to cache data from lookup tables locally to avoid repeatedly retrieving data from the source. This is particularly useful for data that doesn't change frequently, such as contact information, default values, or user information.

  5. Avoid control dependency between screens: To improve performance, avoid formula dependencies between screens. In some cases, you can use a global variable or collection to share information between screens.

  6. Use delegation: Whenever possible, use functions that delegate data processing to the data source instead of retrieving data to the local device for processing. This is particularly important when dealing with large datasets.

  7. Use Delayed Load: If your app has more than 10 screens, no rules, and many controls that are on multiple screens and are directly bound to the data source, turn on the experimental feature for delayed load.

  8. Work with large datasets: Use data sources and formulas that can be delegated to avoid hitting the data row limit of 2,000 for non-delegable queries. Indexes on columns can be used for data-record columns on which users can search, filter, or sort data.

  9. Republish apps regularly: The Power Apps platform is continuously optimized and deployed, so your app is regenerated within the latest platform optimizations when you republish it.

  10. Avoid repeating the same formula in multiple places: If multiple properties run the same formula, consider setting it once and then referencing the output of the first property in subsequent ones.

  11. Enable DelayOutput on all Text input controls: If you have multiple formulas or rules that reference the value of a Text input control, set the DelayedOutput property of that control to true.

  12. Avoid using Form.Updates in rules and formulas: If you reference a user-input value in a rule or a formula by using a Form.Updates variable, it iterates over all the form's data cards and creates a record each time.

Please note that these are general performance improvements and best practices, and may not necessarily be new training tips. If you have specific topics or aspects of Power Apps you're interested in, I can help to find more detailed or updated information on those.