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/ai-formulas-formulabar.md
+7-14Lines changed: 7 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: warrenbryant-msft
5
5
ms.topic: conceptual
6
6
ms.custom: canvas
7
7
ms.reviewer: mkaur
8
-
ms.date: 5/2/2024
8
+
ms.date: 7/22/2024
9
9
ms.subservice: canvas-maker
10
10
ms.author: warrenbryant
11
11
search.audienceType:
@@ -57,17 +57,12 @@ Use Copilot in the formula bar to understand what a formula is doing.
57
57
58
58
[This section is prerelease documentation and is subject to change.]
59
59
60
-
Add a comment in the formula bar and Copilot will suggest a suitable formula. You can accept the suggestion or typing through it. The comments can remain in the formula bar as documentation, similar to regular code comments.
61
-
62
-
63
-
> [!IMPORTANT]
64
-
> - Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback. For more information, see [Power Apps preview program](../powerapps-preview-program.md).
65
-
> - This capability is in the process of rolling out, and may not be available in your region yet.
60
+
When you add a comment in the formula bar, Copilot will provide a suggested formula. You have the option to accept the suggestion or manually type the formula. These comments can serve as documentation in the formula bar, just like regular code comments.
66
61
67
62
1. With your canvas app open for editing, type a code comment using **//** or **/*** in the formula bar.
Wait few seconds for Copilot to generate a formula recommendation.
65
+
Wait few seconds for Copilot to generate a formula recommendation or press enter to generate immediately.
71
66
72
67
1. Use the **Tab key** on the keyboard to select and use the recommended formula. You can also type through the recommendation.
73
68
:::image type="content" source="media/copilot/ufb-commentfx-copilot.png" alt-text="Typed comment with recommended formula":::
@@ -83,20 +78,18 @@ Add a comment in the formula bar and Copilot will suggest a suitable formula. Yo
83
78
- Copilot in Power Apps only recognizes the default properties within the app.
84
79
- Code comments only work with general Power Fx functions, and not Power Apps specific functions such as **Navigate()**.
85
80
- The advanced panel doesn't trigger suggestions.
86
-
- While Copilot is generating formula suggestions, other activities in the Power Apps Studio might be temporarily unavailable.
87
81
- Existing formulas for that property aren't included in the recommendation.
88
82
- User defined functions aren't supported.
89
83
- This feature isn't available in the Canada region.
90
84
91
-
### Disable Copilot comment generated formulas
85
+
### Enable or disable Copilot comment generated formulas
92
86
93
-
Copilot comment generated formulas can be disabled from app settings.
87
+
Copilot comment generated formulas are enabled by default for new apps, and disabled by default for existing apps, but can be enabled or disabled for any app from app settings.
94
88
95
-
- Go to **Settings** > **Upcoming features**. Set the toggle to **Off** for **Copilot comment-generated formulas**.
89
+
- Go to **Settings** > **Upcoming features**. Set the toggle to **On** or **Off** for **Copilot comment-generated formulas**.
96
90
97
91
> [!NOTE]
98
-
> You won't be able to disable **Copilot comment generated formulas** when it's generally available.
99
-
92
+
> When **Copilot comment generated formulas** is fully integrated into the platform and generally available, it won't be possible to disable it.
100
93
## Responsible AI
101
94
102
95
Review the Microsoft Documentation on [FAQ about using AI responsibly in Power Apps](../common/responsible-ai-overview.md) to understand the choices a user has when working with AI. Additionally, review the [Power Fx Copilot FAQ](../common/faqs-copilot-powerfx.md) for questions regarding this functionality specifically.
0 commit comments