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/chatbots.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.reviewer: mvakoc
13
13
14
14
Power Virtual Agents allows you to quickly create and maintain intelligent chatbots using a no-code interface. App makers can create and manage their chatbots directly from [Power Apps](https://make.powerapps.com).
15
15
16
-

16
+

17
17
18
18
You can create and manage your chatbots using the **Chatbots** option in the left navigation pane.
> 
22
+
> 
23
23
24
24
## Add a code component to a column
25
25
@@ -36,7 +36,7 @@ Following the steps below will change the default label and text box column of t
36
36
5. On the Add Control page, select the component that you want, such as the **Linear Slider** component, and then select **Add**.
37
37
38
38
> [!div class="mx-imgBorder"]
39
-
> 
39
+
> 
40
40
41
41
6. Choose the client where you want the component to appear.
42
42
@@ -47,12 +47,12 @@ Following the steps below will change the default label and text box column of t
47
47
-**Tablet**. To make the code component available on tablet devices running Dynamics 365 for tablets, select the Tablet option next to the component.
48
48
49
49
> [!div class="mx-imgBorder"]
50
-
> 
50
+
> 
51
51
52
52
7. Select the pencil icon next to **Min**, **Max**, and **Step**, set the property option, and then select **OK**.
53
53
54
54
> [!div class="mx-imgBorder"]
55
-
> 
55
+
> 
56
56
57
57
-**Min**. Set the minimum accepted value. You can bind a static value that you enter or bind the value to an existing column. In this example **Bind to static value** is **Currency** and the minimum value that can be entered is *zero*.
58
58
@@ -88,7 +88,7 @@ To add a code component like dataset component or simple table component to a gr
88
88
Open a record that includes the column with the code component, such as the Opportunity form from the previous example, and view how the column is changed. The column is now rendered as a slider component instead of the text column.
89
89
90
90
> [!div class="mx-imgBorder"]
91
-
> 
91
+
> 
Copy file name to clipboardExpand all lines: powerapps-docs/developer/component-framework/code-components-model-driven-apps.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,10 @@ The [create your first code component](implementing-controls-using-typescript.md
31
31
To add code components to a column or a table in model-driven apps, see [Add code components to model-driven apps](add-custom-controls-to-a-field-or-entity.md).
32
32
33
33
> [!div class="mx-imgBorder"]
34
-
> 
34
+
> 
35
35
36
36
> [!div class="mx-imgBorder"]
37
-
> 
37
+
> 
The following is a list of some community resources created by the Power Apps community that you can use to create code components in model-driven and canvas apps using Power Apps component framework and Microsoft Power Platform CLI.
20
18
21
19
> [!NOTE]
@@ -31,7 +29,7 @@ Make sure that you review the licensing terms and the source code before you dow
31
29
> Code component run in the context of the end user who is using the component and can perform any action that may include accessing, capturing, and modifying the data.
@@ -85,12 +83,12 @@ There are two versions of the code component builder. Both of them are called **
85
83
[PCF Builder for XrmToolBox](https://www.xrmtoolbox.com/plugins/Maverick.PCF.Builder/) provides a graphical user interface that lets you create code components in visual manner using Microsoft Power Platform CLI.
86
84
87
85
> [!div class="mx-imgBorder"]
88
-
> 
86
+
> 
89
87
90
88
[PCF Builder extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=danish-naglekar.pcf-builder) provides a guided experience that not only lets you create code components but you can preview code component inside of Visual Studio Code.
91
89
92
90
> [!div class="mx-imgBorder"]
93
-
> 
91
+
> 
Power Apps component framework enables app makers to create code components that can be used in their canvas apps. More information: [Power Apps component framework overview](overview.md)
18
+
App makers can use Power Apps component framework to create code components that can be used in their canvas apps. More information: [Power Apps component framework overview](overview.md)
19
19
20
-
Power Apps component framework enables professional developers to create, import, and add code components to canvas applications using [Microsoft Power Platform CLI](get-powerapps-cli.md). Certain APIs may not be available in canvas Apps. We recommend you check each API to determine where it is available.
20
+
Professional developers can use Power Apps component framework to create, import, and add code components to canvas apps by using [Microsoft Power Platform CLI](get-powerapps-cli.md). Certain APIs might not be available in canvas apps. We recommend that you check each API to determine where it's available.
21
21
22
22
## Security considerations
23
23
24
24
> [!WARNING]
25
25
> Code components contain code that may not be generated by Microsoft and can potentially access security tokens and data when rendered in Power Apps Studio. When adding code components to a canvas app, make sure that the code component solutions are from a trusted source. This vulnerability does not exist when playing the canvas app.
26
26
27
-
When you open a canvas app in Power Apps Studio that contains code components, a dialog shows a warning message about potentially unsafe code. Code components in the Power Apps Studio environment have access to security tokens and hence only components from the trusted sources should be opened. Administrators and system customizers should review and validate all the code components before importing those components in an environment and making them available for makers to use in their apps. The `Default` publisher is shown when you import code components using an unmanaged solution or when you have used `pac pcf push` to install your code component.
27
+
When you open a canvas app that contains code components in Power Apps Studio, a warning message about potentially unsafe code appears. Code components in the Power Apps Studio environment have access to security tokens; hence only components from trusted sources should be opened. Administrators and system customizers should review and validate all code components before importing those components in an environment and making them available for makers to use in their apps. The `Default` publisher is shown when you import code components by using an unmanaged solution or when you have used `pac pcf push` to install your code component.
1. A Power Apps license is required. More information: [Power Apps component framework licensing](overview.md#licensing)
34
-
2. System administrator privileges are required to enable the Power Apps component feature in the environment.
33
+
- A Power Apps license is required. More information: [Power Apps component framework licensing](overview.md#licensing)
34
+
- System administrator privileges are required to enable the Power Apps component framework feature in the environment.
35
35
36
-
## Enable Power Apps component framework feature
36
+
## Enable the Power Apps component framework feature
37
37
38
-
To add code components to an app, you need to enable the Power Apps component framework feature in each environment where you want to use them. By default Power Apps component feature is enabled for model-driven apps. To enable an environment to use code components inside its apps:
38
+
To add code components to an app, you need to enable the Power Apps component framework feature in each environment where you want to use them. By default, the Power Apps component feature is enabled for model-driven apps. To enable an environment to use code components inside its apps:
39
39
40
40
1. Sign in to [Power Apps](https://powerapps.microsoft.com/).
41
41
42
-
2. Select the **Settings**icon and then select **Admin Center**.
42
+
2. Select **Settings**, and then select **Admin Center**.
43
43
44
44
> [!div class="mx-imgBorder"]
45
-
> 
45
+
> 
46
46
47
-
3.Select the **Environments** tab in the left pane and select the environment where you want to enable this feature and then select **Settings**.
47
+
3.On the left pane, select **Environments**, select the environment where you want to enable this feature, and then select **Settings**.
48
48
49
-
4.Under the **Products** tab, select **Features**.
49
+
4.On the **Products** tab, select **Features**.
50
50
51
51
> [!div class="mx-imgBorder"]
52
-
> 
52
+
> 
53
53
54
-
5. From the list of available features, set the switch to **On** under **Power Apps component framework for canvas apps** and click**Save**.
54
+
5. From the list of available features, turn on **Power Apps component framework for canvas apps**, and then select**Save**.
55
55
56
-
6. Now, open the app where you want to add the code component and navigate to **File** > **Settings** and select **Advanced settings**.
56
+
6. Now, open the app where you want to add the code component, got to **File** > **Settings**, and then select **Advanced settings**.
57
57
58
58
> [!div class="mx-imgBorder"]
59
-
> 
59
+
> 
60
60
61
-
7.Turn the **Components** switch to **On** under the **Experimental feature** section.
61
+
7.In the **Experimental features** section, turn on **Components**.
62
62
63
-
> [!NOTE]
64
-
> When creating new canvas apps, steps 6 & 7 is enabled by default.
63
+
> [!NOTE]
64
+
> When you create new canvas apps, steps 6 and 7 are enabled by default.
65
65
66
66
## Implementing code components
67
67
68
-
After you enable the Power Apps component framework feature in your environment, you can start implementing the logic for code components.
69
-
70
-
The [Create your first code component](implementing-controls-using-typescript.md) topic demonstrates the step-by-step process to create code components.
68
+
After you enable the Power Apps component framework feature in your environment, you can start implementing the logic for code components. For a step-by-step tutorial, go to [Create your first code component](implementing-controls-using-typescript.md).
71
69
72
70
## Add components to a canvas app
73
71
74
-
To add code components to a canvas app:
72
+
1. Go to Power Apps Studio.
75
73
76
-
1. Navigate to Power Apps Studio.
77
-
2. Create a new canvas app or edit an existing app to which you want to add the code component.
74
+
2. Create a new canvas app, or edit an existing app to which you want to add the code component.
78
75
79
76
> [!IMPORTANT]
80
-
> Make sure the solution zip file containing code components is already [imported](../../maker/data-platform/import-update-export-solutions.md) into Microsoft Dataverse before you proceed to the next step.
77
+
> Make sure the solution .zip file containing the code components has already been[imported](../../maker/data-platform/import-update-export-solutions.md) into Microsoft Dataverse before you proceed to the next step.
81
78
82
-
3.In the left pane select **+**icon and then select **Get more components**.
79
+
3.On the left pane, select **Add**(**+**), and then select **Get more components**.
4. Select the **Code** tab, select a component from the list, and then select **Import**.
84
+
4. Select the **Code** tab, select a component from the list, and then select **Import**.<!--note from editor: Here and in step 5, I deleted "sample" because maybe the reader is adding a component they truly want, not necessarily a sample.-->
> 
96
93
97
94
> [!NOTE]
98
-
> You can also add components by selecting **Insert** > **Custom** > **Import component**. This option will be removed in a future release, so we suggest using the flow described above.
99
-
100
-
6. In the **Properties** tab, you'll notice the code component properties displayed.
95
+
> You can also add components by selecting **Insert** > **Custom** > **Import component**. This option will be removed in a future release, so we suggest using the flow described above.<!--note from editor: Recommend deleting this unless there's a mechanism in place to revisit this topic in tandem with the future release. This is especially not a good candidate for note format, since it draws extra attention to this step that won't work before long.-->
<!--note from editor: The following isn't really a step, so I removed the numbering and indent. -->
98
+
On the **Properties** tab, you'll notice the code component properties are displayed.
104
99
105
-
> [!NOTE]
106
-
> Existing code components can be re-imported by updating the code component's manifest version if you want the properties to be available in the default **Properties** tab. Like in the past the properties will continue to be available in the advanced properties panel.
> Existing code components can be re-imported by updating the code component's manifest version if you want the properties to be available in the default **Properties** tab. As before, the properties will continue to be available on the **Advanced** properties tab.<!--note from editor: Edit okay? -->
109
105
110
-
To delete a code component from a canvas app:
106
+
## Delete a code component from a canvas app
111
107
112
-
1. Open the app where you have added the code component.
113
-
1.Select the **Tree view** icon from the left pane and select the screen where you have added the code component.
114
-
1.Select **ellipse (...)** next to the code component and select **Delete**.
108
+
1. Open the app where you've added the code component.
109
+
1.On the left pane, select **Tree view**, and then select the screen where you've added the code component.
110
+
1.Next to the component, select **More** (**...**), and then select **Delete**.
> 
118
114
119
115
1. Save the app to see the changes.
120
116
121
117
## Update existing code components
122
118
123
-
Whenever you update the code components and want to see the runtime changes, you need to bumpthe `version` property in the manifest file. It is recommended to always bump the version of the component whenever you make changes.
119
+
Whenever you update the code components and want to see the runtime changes, you need to change<!--note from editor: I don't think "bump" is going to necessarily be well-understood by non-native English readers. Maybe this should be "increase"?-->the `version` property in the manifest file. We recommend that you change the version of the component whenever you make changes.
124
120
125
121
> [!NOTE]
126
-
> Existing code components are updated only when the app is closed or reopened in Power Apps Studio. When you reopen the app, it asks you to update the code components. Simply deleting the code components or adding the code component back into the app doesn't update the components.
122
+
> Existing code components are updated only when the app is closed or reopened in Power Apps Studio. When you reopen the app, it asks you to update the code components. Simply deleting or adding code components back into the app won't update the components.
0 commit comments