Skip to content

Commit 7570a59

Browse files
authored
Merge pull request #7264 from MicrosoftDocs/alaug-patch-8
Alaug patch 8
2 parents 422a0b9 + efd88f2 commit 7570a59

File tree

4 files changed

+19
-14
lines changed

4 files changed

+19
-14
lines changed
Loading

powerapps-docs/maker/canvas-apps/performance-tips.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,23 @@ Depending on the configuration, Gallery can take longer to render the visible ro
148148
- Simplify the template. For example, consider reducing the number of controls, references to lookups.
149149
- Galleries with complex templates can benefit from having **DelayItemLoading** set to **true**, and **LoadingSpinner** set to **LoadingSpinner.Controls**. This change will improve the perceived experience when render time is longer. **DelayItemLoading** will also defer the rendering of templates which will allow the rest of the screen to render faster as both screen and gallery are not competing for resources.
150150

151+
## Enable Preload app for enhanced performance
152+
153+
You can optionally preload your app to increase performance.
154+
155+
1. Sign in to [Power Apps](https://make.powerapps.com), and then select **Apps** in the menu.
156+
157+
2. Select **More actions** (...) for the app you want to share, and then select **Settings**.
158+
159+
3. In the Settings panel, toggle **Preload app for enhanced performance** to **Yes**. App will then pre-load.
160+
161+
![Preload app for enhanced performance.](./media/performance-tips/preload-app.png)
162+
163+
4. For the changes to take effect for apps embedded in Teams, remove and add your app into Teams again.
164+
165+
> [!NOTE]
166+
> This allows users to download the compiled app while authentication is in progress for embedded scenarios. However, the users can run your app only after successful authentication. This behavior ensures that the data that an app retrieves from data sources won’t be available to unauthenticated users. Information in the compiled app includes—a collection of JavaScript files containing text authored in app controls, media assets (such as images), the app name, and the environment URL the app resides in.
167+
151168
## Next steps
152169

153170
Review the [coding standards](https://aka.ms/powerappscanvasguidelines) for maximizing app performance and keeping apps easier to maintain.

powerapps-docs/maker/canvas-apps/save-publish-app.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ To publish the most recent version, highlight the version and select ellipsis (.
6565
> [!NOTE]
6666
> - Changes from a newly published version of an app may take a few seconds to reflect when launching the app. Occasionally, it may take a few minutes.
6767
> - If you already have an app open while a new version is published, you must reload the app to get the latest changes.
68+
> - To reduce the time users wait to access your app, the app preload capability is turned on. You can chose to turn it off. Learn more [here](performance-tips.md#enable-preload-app-for-enhanced-performance).
6869
6970
## Next steps
7071

powerapps-docs/teams/embed-teams-app.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,7 @@ The following context variables from Teams are supported:
144144
145145
## Improve the performance of your app
146146

147-
You can optionally preload your app within Teams to increase performance.
148-
149-
1. Sign in to [Power Apps](https://make.powerapps.com), and then select **Apps** in the menu.
150-
151-
2. Select **More actions** (...) for the app you want to share in Teams, and then select **Settings**.
152-
153-
3. In the Settings panel, toggle **Preload app for enhanced performance** to **Yes**. App will then pre-load whenever embedded in Teams.
154-
155-
:::image type="content" source="media/embed-teams-app/preload-app.png" alt-text="Preload app for enhanced performance.":::
156-
157-
4. For the changes to take effect, remove and add your app into Teams again.
158-
159-
> [!NOTE]
160-
> This allows users to download the compiled app while authentication is in progress for embedded scenarios. However, the users can run your app only after successful authentication. This behavior ensures that the data that an app retrieves from data sources won’t be available to unauthenticated users. Information in the compiled app includes—a collection of JavaScript files containing text authored in app controls, media assets (such as images), the app name, and the environment URL the app resides in.
147+
You can optionally preload your app within Teams to increase performance. For mor information: [Enable Preload app for enhanced performance](../maker/canvas-apps/performance-tips.md#enable-preload-app-for-enhanced-performance).
161148

162149
### See also
163150

0 commit comments

Comments
 (0)