You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/add-ai-chatbot.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Add Chatbot control to your canvas app
2
+
title: Add a Chatbot control to your canvas app
3
3
description: A control that enables embedding of any published Power Virtual Agent (PVA) bot into Power Apps for end-user.
4
4
author: mduelae
5
5
ms.topic: conceptual
@@ -8,7 +8,7 @@ ms.collection:
8
8
- bap-ai-copilot
9
9
- get started
10
10
ms.reviewer:
11
-
ms.date: 5/2/2024
11
+
ms.date: 7/9/2024
12
12
ms.subservice: canvas-maker
13
13
ms.author: tapanm
14
14
search.audienceType:
@@ -17,11 +17,11 @@ contributors:
17
17
- mduelae
18
18
---
19
19
20
-
# Add Chatbot control to a canvas app (preview)
20
+
# Add a Chatbot control to a canvas app (preview)
21
21
22
22
[This article is prerelease documentation and is subject to change.]
23
23
24
-
Add Chatbot control to your canvas apps and embed a published [Microsoft Copilot Studio](/power-virtual-agents/fundamentals-what-is-power-virtual-agents) chatbot to assist your end-users with various requests—from providing simple answers to common questions to resolving issues requiring complex conversations.
24
+
Add a Chatbot control to your canvas apps and embed a published [Microsoft Copilot Studio](/power-virtual-agents/fundamentals-what-is-power-virtual-agents) chatbot to assist your end-users with various requests—from providing simple answers to common questions to resolving issues requiring complex conversations.
25
25
26
26
The Chabot control is also available in [custom pages for model-driven apps](../model-driven-apps/model-app-page-overview.md). The control also supports Teams authenticated Microsoft Copilot Studio bots. A bot picker lists all bots that are in the same environment as your app.
description: "Add a custom Copilot to a canvas app in Microsoft Power Apps."
4
+
author: mduelae
5
+
ms.topic: conceptual
6
+
ms.custom: canvas
7
+
ms.reviewer:
8
+
ms.date: 7/8/2024
9
+
ms.subservice: canvas-maker
10
+
ms.author: mkaur
11
+
search.audienceType:
12
+
- maker
13
+
contributors:
14
+
- mduelae
15
+
---
16
+
17
+
# Add a custom Copilot to a canvas app (preview)
18
+
19
+
[This article is prerelease documentation and is subject to change.]
20
+
21
+
Microsoft Copilot Studio empowers makers to create their own custom Copilots with AI. In a few steps, you can add your custom Copilot across all your canvas app screens without modifying your app's design. You can use this feature both on the web and through the Power Apps mobile app.
22
+
23
+
> [!IMPORTANT]
24
+
> - App Copilot for canvas apps is currently rolling out and might not yet be available in your region. App Copilot may be available on [Power Apps mobile](../../mobile/run-powerapps-on-mobile.md) for mobile devices before it becomes available on the web browser during rollout.
25
+
> - You must allow data movement across regions, for generative AI features, as a prerequisite to use copilots in Power Apps. This step is important if your organization and your environment are in different regions. For more information, see [Enable copilots and generative AI features](/power-platform/admin/geographical-availability-copilot\#enable-data-movement-across-regions).
26
+
> - Preview features aren't meant for production use and might have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.
27
+
> - For more information, go to our [preview terms](https://go.microsoft.com/fwlink/?linkid=2189520).
28
+
29
+
## What is the difference between App Copilot in canvas apps and the Copilot control?
30
+
31
+
**Copilot control** requires makers to update their canvas app to make space for the control and is only available on the web. The control feature supports asking questions about your data or connecting to a new (not existing) custom copilot from Copilot Studio.
32
+
33
+
**App Copilot** doesn't require updating the canvas app layout. App Copilot is available across web and natively on mobile devices and can connect to pre-existing custom Copilots created in Copilot Studio.
34
+
35
+
## How to enable App Copilot
36
+
37
+
### Prerequisites
38
+
39
+
- Create a custom Copilot in [Copilot Studio](/microsoft-copilot-studio/fundamentals-get-started?tabs=web) and publish it in the same environment as the app.
40
+
41
+
- Configure the custom Copilot with [user authentication in Microsoft Entra ID](/microsoft-copilot-studio/configuration-authentication-azure-ad).
42
+
43
+
-[Give makers and users access](/microsoft-copilot-studio/admin-share-bots?tabs=web) to the custom Copilot within the environment.
44
+
45
+
## Connect your custom Copilot to your canvas app
46
+
47
+
48
+
Open your [canvas app open for editing](edit-app.md) in Power Apps Studio:
49
+
50
+
1. On the command bar, select **Settings** > **Updates** > **Preview** tab and enable **Copilot from app settings**.
51
+
52
+
1. You see a **Copilot** tab appear in **Settings**. In the drop-down list, select a custom Copilot that is published and shared in the same environment as your canvas app.
53
+
54
+
:::image type="content" source="media/add-custom-copilot/copilot-tab.png" alt-text="Screenshot that shows the Copilot tab in Settings and where you can select an app that was shared with you." lightbox="media/add-custom-copilot/copilot-tab.png":::
55
+
56
+
1. After choosing a copilot, close the settings dialog box and publish the app. App users are able to use App Copilot in the app.
57
+
58
+
When previewing an app in Power Apps Studio, Copilot is not displayed. To see Copilot in action, you need to save and publish your app, and then open it in Power Apps mobile or the web browser.
59
+
60
+
> [!TIP]
61
+
> Removing the custom Copilot from the app disables the functionality.
62
+
63
+
## Use App Copilot
64
+
65
+
- Open your canvas app in a web browser. On the command bar, select **Copilot**.
66
+
67
+
:::image type="content" source="media/add-custom-copilot/copilot-chat-in-app.png" alt-text="Screenshot that shows the Copilot chat in the app." lightbox="media/add-custom-copilot/copilot-chat-in-app.png":::
68
+
69
+
- In Power Apps mobile running on iOS or Android devices, select the floating button to access App Copilot. You can move the button around or dismiss it. To use App Copilot after dismissing it, close and reopen the app.
70
+
71
+
## See Also
72
+
73
+
[FAQ for Copilot](/microsoft-copilot-studio/faqs-copilot)
Copy file name to clipboardExpand all lines: powerapps-docs/mobile/best-practices-offline.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ searchScope:
20
20
This article provides recommendations for how to create the best experience for users of apps configured for offline use.
21
21
22
22
- If you configure a canvas app for offline use, you need to optimize how the app fetches data from the data source. Learn more: [How to create the best offline user experience in canvas apps](best-practices-offline.md#how-to-create-the-best-offline-user-experience-in-canvas-apps)
23
-
- To function offline, an app must initially download all necessary assets, including resources and data, to operate independently of a network connection. This process is a one-time, setup task that occurs during the app’s first use. The speed of this initial download is influenced by the volume of data downloaded to the device, which is determined by the offline profile settings and the quantity of data available to the user within the app’s environment. For a seamless, initial experience, it’s advisable to plan the your [offline app rollout](best-practices-offline.md#plan-your-offline-app-rollout).
23
+
- To function offline, an app must initially download all necessary assets, including resources and data, to operate independently of a network connection. This process is a one-time setup task that occurs during the app’s first use. The speed of this initial download is influenced by the volume of data downloaded to the device, which is determined by the offline profile settings and the quantity of data available to the user within the app’s environment. For a seamless, initial experience, it’s advisable to plan your [offline app rollout](best-practices-offline.md#plan-your-offline-app-rollout).
24
24
25
25
## How to create the best offline user experience in canvas apps
26
26
@@ -39,27 +39,27 @@ Monitor is a tool that offers makers a deep view of what an app does and how it
39
39
## Plan your offline app rollout
40
40
41
41
> [!IMPORTANT]
42
-
>If you're using an **auto-generated offline profile** (available for canvas apps only), and if the first synchronization is taking too much time, you should create a manual, offline profile by using the following best practices.
42
+
>If you're using an **auto-generated offline profile** (available for canvas apps only), and if the first synchronization is taking too much time, you should create a manual, offline profile by using the following best practices.
43
43
44
-
Develop and roll-out your offline app in three phases.
44
+
Develop and rollout your offline app in three phases.
45
45
46
46
:::image type="content" source="media/mobile-offline-guidelines/phases.png" alt-text="Illustration that shows Phase 1 for a maker, Phase 2 for testers, and Phase 3 for users.":::
47
47
48
48
### Phase 1: Develop and iterate
49
49
50
50
After you've [set up mobile offline for canvas apps](canvas-mobile-offline-setup.md#create-a-custom-mobile-offline-profile-with-admin-rights) or [set up mobile offline for model-driven apps](setup-mobile-offline.md#set-up-a-mobile-offline-profile), it's time to start testing and tweaking. Use [Power Apps mobile](run-powerapps-on-mobile.md) or [Field Service Mobile](/dynamics365/field-service/field-service-mobile-app-user-guide) to determine how the app behaves when it's offline. For Windows, you'll find the [Power Apps for Windows](windows-app-install.md) app in the Microsoft Store that allows iterating without the need for a mobile device.
51
51
52
-
In this phase, you'll add tables and apply filters to existing tables to make sure that the right data is downloaded to the app, following the guidelines to [Optimize the offline profile](mobile-offline-guidelines.md)
52
+
In this phase, you'll add tables and apply filters to existing tables to make sure that the right data is downloaded to the app, following the guidelines to [Optimize the offline profile](mobile-offline-guidelines.md).
53
53
54
54
#### Outcome
55
55
You confirm that all the tables and forms work offline after the data is downloaded and that download sizes are reasonable.
56
56
57
57
> [!IMPORTANT]
58
-
> The metadata for the model-driven app is retrieved when the app starts. This means that if you change a component in your app, such as a form component or view, then you need to restart the app for the profile to reflect the changes.
58
+
> The metadata for the model-driven app is retrieved when the app starts. This means that if you change a component in your app, such as a form component or view, then you need to restart the app for the profile to reflect the changes.
59
59
60
60
### Phase 2: Test with users
61
61
62
-
Ask a few users to test the app with real data. Make sure the offline profile scales for different types of users and works on devices with varying storage capacities. Check the **Device status** page (available out-of-the-box in model-driven apps) for each user. For more information, see [Using the Offline template and offline status icon](canvas-mobile-offline-setup.md#using-the-offline-template-and-offline-status-icon). Adjust the filters in the offline profile to increase or decrease the amount of data that's downloaded.
62
+
Ask a few users to test the app with real data. Make sure the offline profile scales for different types of users and works on devices with varying storage capacities. Check the **Device status** page (available out of thebox in model-driven apps) for each user. For more information, see [Using the Offline template and offline status icon](canvas-mobile-offline-setup.md#using-the-offline-template-and-offline-status-icon). Adjust the filters in the offline profile to increase or decrease the amount of data that's downloaded.
63
63
64
64
:::image type="content" source="media/mobile-offline-guidelines/offline-status.png" alt-text="Screenshot of a mobile app's Offline Status page after a successful download.":::
65
65
@@ -79,11 +79,11 @@ Test whether your users have all the data they need. Compare the data available
79
79
80
80
### Add related tables if your app needs them
81
81
82
-
-**Business process flows:** If a form contains a business process flow, be sure to add the business process flow table. For more information, see [Supported capabilities](/dynamics365/mobile-app/mobile-offline-capabilities#supported-capabilities).
82
+
-**Business process flows**: If a form contains a business process flow, be sure to add the business process flow table. For more information, see [Supported capabilities](/dynamics365/mobile-app/mobile-offline-capabilities#supported-capabilities).
83
83
84
-
-**Files and images:** If your offline profile contains files and images, add tables for them. For more information, see [Configure files and images in offline model-driven apps](offline-file-images.md) or [Configure files and images in offline canvas apps](files-images-offline-canvas-apps.md). Use custom filters to limit download of critical files.
84
+
-**Files and images**: If your offline profile contains files and images, add tables for them. For more information, see [Configure files and images in offline model-driven apps](offline-file-images.md) or [Configure files and images in offline canvas apps](files-images-offline-canvas-apps.md). Use custom filters to limit the download of critical files.
85
85
86
-
-**Timeline:** To make notes on the timeline control (for model-driven apps only) available offline, add the **Notes** table and the **Users** table to the offline profile. Notes can be large if users upload images and videos, so apply custom filters to the **Notes** table to limit download times.
86
+
-**Timeline**: To make notes on the timeline control (for model-driven apps only) available offline, add the **Notes** table and the **Users** table to the offline profile. Notes can be large if users upload images and videos, so apply custom filters to the **Notes** table to limit download times.
87
87
88
88
> [!IMPORTANT]
89
89
> Data downloads may be slower if users upload files larger than 4 MB to the timeline control. If users need to upload files larger than 4 MB, use the quick notes control in Field Service or **Files**/**Images** instead of the timeline to improve performance.
0 commit comments