Skip to content

Commit b6fffd5

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/powerapps-docs-pr into email-changes
2 parents ea4650a + 79f019d commit b6fffd5

22 files changed

+90
-126
lines changed

powerapps-docs/developer/component-framework/create-custom-controls-using-pcf.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,46 @@ keywords: Power Apps component framework, code components, Component Framework
55
ms.author: noazarur
66
author: noazarur-microsoft
77
manager: lwelicki
8-
ms.date: 05/27/2022
8+
ms.date: 01/27/2023
99
ms.reviewer: jdaly
1010
ms.topic: article
1111
ms.subservice: pcf
1212
contributors:
1313
- JimDaly
14+
- kaushikkaul
1415
---
1516

1617
# Create and build a code component
1718

18-
This article demonstrates how to create and deploy code components using Microsoft Power Platform CLI. Ensure that you have installed [Microsoft Power Platform CLI](https://aka.ms/PowerAppsCLI).
19+
This article demonstrates how to create and deploy code components using Microsoft Power Platform CLI.
1920

20-
[!INCLUDE[cc-terminology](../data-platform/includes/cc-terminology.md)]
21+
## Prerequisites
2122

22-
## Create a new component
23+
You need install the following components:
24+
25+
1. [Visual Studio Code (VSCode)](https://code.visualstudio.com/Download) (Ensure the Add to PATH option is select)
26+
1. [node.js](https://nodejs.org/en/download/) (LTS version is recommended)
27+
1. [Microsoft Power Platform CLI](/powerapps/developer/data-platform/powerapps-cli#install-power-apps-cli) (Use the Visual Studio Code extension)
2328

24-
To begin, open **Developer Command Prompt for VS 2017 or higher** after installing Microsoft Power Platform CLI.
29+
## Create a new component
2530

26-
1. In the Developer Command Prompt, create a new folder on your local machine, for example, *C:\Users\your name\Documents\My_code_Component* using the command `mkdir <Specify the folder name>`.
27-
2. Go to the newly created folder using the command `cd <specify your new folder path>`.
28-
3. Create a new component project by passing some basic parameters using the [pac pcf init](/power-platform/developer/cli/reference/pcf#pac-pcf-init) command:
31+
Open Visual Studio code and open a new terminal window by selecting **Terminal** > **New Terminal**.
32+
1. In the terminal window, create a new folder on your local machine, for example, *C:\projects\My_code_Component* using the command `mkdir <Specify the folder name>`.
33+
1. Go to the newly created folder using the command `cd <specify your new folder path>`.
34+
1. Create a new component project by passing some basic parameters using the [pac pcf init](/power-platform/developer/cli/reference/pcf#pac-pcf-init) command:
2935

3036
```CLI
31-
pac pcf init --namespace <specify your namespace here> --name <Name of the code component> --template <component type>
37+
pac pcf init --namespace <specify your namespace here> --name <Name of the code component> --template <component type> --run-npm-install
3238
```
33-
4. The above command will also run `npm install` command for you to retrieve all the required project dependencies.
34-
5. Open your project folder `C:\Users\<your name>\Documents\<My_code_Component>` in any developer environment of your choice and get started with your code component development. The quickest way to get started is by running `code .` from your command prompt once you are in the `C:\Users\<your name>\Documents\<My_code_Component>` directory. This command opens your component project in Visual Studio Code.
35-
6. Implement the required artifacts for the component like manifest, component logic, and styling and then build the component project. More information: [Create your first code component](implementing-controls-using-typescript.md)
39+
1. The above command will also run `npm install` command for you to retrieve all the required project dependencies.
40+
1. Open your project folder `C:\projects\My_code_Component` in any developer environment of your choice and get started with your code component development. The quickest way to get started is by running `code .` from your command prompt once you are in the `C:\projects\My_code_Component` directory. This command opens your component project in Visual Studio Code.
41+
1. Implement the required artifacts for the component like manifest, component logic, and styling and then build the component project. More information: [Create your first code component](implementing-controls-using-typescript.md)
3642
3743
## Build your component
3844
39-
To build the component project, open the project folder that contains `package.json` in Visual Studio Code and use the (Ctrl-Shift-B) command, then select the build options.
45+
To build the component project, open the project folder that contains `package.json` in Visual Studio Code and use the (Ctrl-Shift-B) command, then select the build options.
4046
41-
Alternatively, you can build the component quickly using the `npm run build` command in the Developer Command Prompt for VS 2017 window for development purposes, or use `npm run build -- --buildMode production` for building a release version.
47+
Alternatively, you can build the component quickly using the `npm run build` command in the Visual Studio Code terminal window for development purposes, or use `npm run build -- --buildMode production` for building a release version.
4248
4349
> [!TIP]
4450
> To debug the component during or after the build operation, see [Debug a code component](debugging-custom-controls.md).

powerapps-docs/developer/data-platform/tools/devtools-create-plugin.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Quickstart: Create a plug-in using Power Platform Tools | Microsoft Docs"
33
description: "Learn how to create and register a Dataverse plug-in using the Power Platform Tools extension for Visual Studio."
44
ms.custom: ""
5-
ms.date: 06/20/2020
5+
ms.date: 01/27/2023
66
ms.reviewer: "pehecke"
77

88
ms.topic: "article"
@@ -25,10 +25,9 @@ If you already have an existing Dataverse solution set up, then follow these [in
2525

2626
## Prerequisites
2727

28-
- Visual Studio 2019
28+
- Visual Studio 2019 or 2022
2929
- Power Platform Tools extension for Visual Studio
30-
- C# language
31-
- .NET Framework 4.6.2 (only for plug-in or custom workflow activity development)
30+
- .NET Framework 4.6.2 is required for plug-in or custom workflow activity development
3231
- Power Apps/Dataverse subscription or a trial environment
3332

3433
## Connect to your Dataverse environment

powerapps-docs/developer/data-platform/tools/devtools-create-project.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Quickstart: Create a Power Platform Tools project | Microsoft Docs"
33
description: "Learn how to start a new Visual Studio project for plug-in or custom workflow assembly development using Power Platform Tools."
44
ms.custom: ""
5-
ms.date: 06/20/2020
5+
ms.date: 01/27/2023
66
ms.reviewer: "pehecke"
77

88
ms.topic: "article"
@@ -23,10 +23,10 @@ Like any Visual Studio solution, you begin by creating a new project. In the new
2323

2424
## Prerequisites
2525

26-
- Visual Studio 2019
26+
- Visual Studio 2019 or 2022
2727
- Power Platform Tools for Visual Studio
2828
- C# language
29-
- .NET Framework 4.6.2 (only for plug-in or custom workflow activity development)
29+
- .NET Framework 4.6.2 or greater - (plug-in and custom workflow activity development requires v4.6.2)
3030
- Power Apps/Dataverse subscription or a trial environment
3131
- Windows Workflow Foundation (only for custom workflow activity development)
3232

@@ -61,7 +61,7 @@ The easy way to create a Power Platform solution containing a CrmPackage project
6161

6262
1. In the Visual Studio new project dialog, search for and choose **Power Platform Solution Template** and then select **Next**.
6363

64-
1. Enter the requested project information, choose .NET Framework 4.6.2 or 4.7.2, and select **Create**. <p/>At this point you should see either a Dataverse login dialog or a dialog to reuse your last Dataverse connection. Do whatever is appropriate to connect to your Dataverse development environment. Never develop code in a production environment.
64+
1. Enter the requested project information, choose a .NET Framework version, and select **Create**. <p/>At this point you should see either a Dataverse login dialog or a dialog to reuse your last Dataverse connection. Do whatever is appropriate to connect to your Dataverse development environment. Never develop code in a production environment.
6565

6666
1. At the **Configure Microsoft Power Platform Solution** dialog, choose either to use an existing Dataverse solution or create a new solution. <p/>Depending on what you have chosen, you will either be prompted to enter information about the new solution or select the existing solution from a drop-down list. **Step #3 Select Solution** is displayed but won't be active until you are logged in and choose **Next** in step #2.
6767

@@ -85,7 +85,7 @@ Only projects created with a Power Platform Tools template should be added to a
8585

8686
1. Select one of the installed Power Platform Tools templates and select **Next**.
8787

88-
1. Fill in any required information and select **Create**. For a plug-in or workflow activity library, be sure to choose .NET Framework 4.6.2 (or 4.7.2).
88+
1. Fill in any required information and select **Create**. For a plug-in or workflow activity library, be sure to choose .NET Framework 4.6.2.
8989

9090
### Add an existing project to a Power Platform solution
9191

powerapps-docs/developer/data-platform/tools/devtools-install.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Install Power Platform Tools | Microsoft Docs"
33
description: "Learn how to install the Power Platform Tools extension for Visual Studio."
44
ms.custom: ""
5-
ms.date: 06/20/2022
5+
ms.date: 01/27/2023
66
ms.reviewer: "pehecke"
77

88
ms.topic: "article"
@@ -30,7 +30,7 @@ Power Platform Tools for Visual Studio supports the rapid creation, debugging, a
3030

3131
Before installing Power Platform Tools into Visual Studio you must have the following applications and frameworks installed on your development computer:
3232

33-
- Microsoft Visual Studio 2019.
33+
- Microsoft Visual Studio 2019 or 2022.
3434

3535
- .NET Framework 4.6.2 (required only for plug-in and workflow activity development)
3636

@@ -82,6 +82,7 @@ You can find a few Power Platform Tools options in Visual Studio by choosing **T
8282
### See Also
8383

8484
[Quickstart: Create a Power Platform Tools project](devtools-create-project.md)
85-
[Power Platform Tools on the Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=microsoft-IsvExpTools.PowerPlatformTools)
85+
[Power Platform Tools extension for Visual Studio 2019](https://marketplace.visualstudio.com/items?itemName=microsoft-IsvExpTools.PowerPlatformTools)
86+
[Power Platform Tools extension for Visual Studio 2022](https://marketplace.visualstudio.com/items?itemName=microsoft-IsvExpTools.PowerPlatformToolsVS2022)
8687

8788
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/virtual-entities/get-started-ve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Following are the limitations in virtual tables that must be considered.
6464
- A column on a virtual table cannot be calculated or rollup.  Any desired calculations must be done on the external side, possibly within or directed by the data provider.
6565
- Although you can add virtual table columns as a lookup on a grid or other UI views, you cannot filter or sort based on this virtual table lookup column.
6666
- Auditing is not supported.
67-
- Search functionality is not support for virtual tables as they do not persist data.
67+
- Search functionality is not supported for virtual tables as they do not persist data.
6868
- Charts and dashboards are not supported for virtual tables.
6969
- Virtual tables cannot be enabled for queues.
7070
- Offline caching of values is not supported for virtual tables.

powerapps-docs/developer/model-driven-apps/best-practices/business-logic/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Developers: Best practices and guidance of client side scripting for model-driven apps | Microsoft Docs"
3-
description: Best practices and guidance of client side scripting for developers of model-driven apps in Power Apps.
2+
title: "Developers: Best practices and guidance for client-side scripting for model-driven apps | Microsoft Docs"
3+
description: Best practices and guidance for client-side scripting for developers of model-driven apps in Power Apps.
44
suite: powerapps
55
author: adrianorth
66
ms.author: aorth
@@ -19,9 +19,9 @@ contributors:
1919
- caburk
2020
---
2121

22-
# Best practices and guidance of client side scripting for model-driven apps
22+
# Best practices and guidance for client-side scripting for model-driven apps
2323

24-
This list below contains all of the Best practices and guidance of client side scripting for model-driven apps.
24+
This list below contains all of the Best practices and guidance for client-side scripting for model-driven apps.
2525

2626
[!INCLUDE[cc-terminology](../../../data-platform/includes/cc-terminology.md)]
2727

@@ -37,4 +37,4 @@ This list below contains all of the Best practices and guidance of client side s
3737
[Apply business logic using client scripting](../../client-scripting.md) <br />
3838

3939

40-
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]
40+
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

powerapps-docs/developer/model-driven-apps/clientapi/create-app-side-panes.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ title: "Creating side panes by using a client API in model-driven apps"
33
description: Learn how to create side panes in model-driven apps by using a client API.
44
author: adrianorth
55
ms.author: aorth
6-
7-
ms.date: 04/17/2022
6+
ms.date: 01/27/2023
87
ms.reviewer: jdaly
98
ms.subservice: mda-developer
109
ms.topic: "article"
@@ -127,6 +126,6 @@ By switching to use `createPane`, both limitations can be avoid by providing an
127126

128127
### Related topics
129128

130-
[sidePanes (Client API reference)](reference/xrm-app-sidepanes.md)
131-
132-
[loadPanel (Client API Reference)](reference/xrm-panel/loadpanel.md)
129+
[sidePanes (Client API reference)](reference/xrm-app-sidepanes.md)<br />
130+
[loadPanel (Client API Reference)](reference/xrm-panel/loadpanel.md)<br />
131+
[Walkthrough: Write your first client script](walkthrough-write-your-first-client-script.md)

powerapps-docs/maker/TOC.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,32 +1665,32 @@
16651665
href: ../developer/model-driven-apps/overview.md
16661666
- name: Glossary of terms
16671667
href: ./model-driven-apps/model-driven-app-glossary.md
1668-
- name: Power Apps mobile
1668+
- name: Power Apps mobile app
16691669
items:
1670-
- name: Install Power Apps mobile
1670+
- name: Install the Power Apps mobile app
16711671
href: ../mobile/run-powerapps-on-mobile.md
16721672
- name: Manage your mobile app with Microsoft Intune
16731673
href: ../mobile/intune.md
1674-
- name: Use model-driven apps on Power Apps mobile
1674+
- name: Set the appearance of your app to dark or light mode
1675+
href: ../mobile/display-mode.md
1676+
- name: Use model-driven apps in the Power Apps mobile app
16751677
href: ../mobile/use-custom-model-driven-app-on-mobile.md
1676-
- name: Use Dataverse search on Power Apps mobile
1678+
- name: Use Dataverse search for model-driven apps in the Power Apps mobile app
16771679
href: ../mobile/relevance-search-mobile.md
1678-
- name: Set app display to dark or light mode
1679-
href: ../mobile/display-mode.md
1680-
- name: In-app notifications in Power Apps mobile
1680+
- name: In-app notifications in the Power Apps mobile app
16811681
href: ../mobile/mobile-notifications.md
1682-
- name: Create push notifications for Power Apps mobile
1682+
- name: Create push notifications for the Power Apps mobile app
16831683
href: ../mobile/power-apps-mobile-notification.md
1684-
- name: Use deep links with Power Apps mobile
1684+
- name: Use deep links with the Power Apps mobile app
16851685
href: ../mobile/mobile-deep-links.md
1686-
- name: Open an app in Power Apps mobile by scanning a QR code
1686+
- name: Open an app in the Power Apps mobile app by scanning a QR code
16871687
href: ../mobile/scan-QR-code.md
1688-
- name: Switch to a different tenant on Power Apps mobile
1688+
- name: Switch to a different tenant in the Power Apps mobile app
16891689
href: ../mobile/tenant-switcher.md
1690-
- name: Troubleshoot issues for Power Apps mobile
1690+
- name: Troubleshoot issues in the Power Apps mobile app
16911691
href: ../mobile/powerapps-mobile-troubleshoot.md
16921692
items:
1693-
- name: Prevent canvas app restarts on Power Apps mobile
1693+
- name: Prevent canvas app restarts in the Power Apps mobile app
16941694
href: ../mobile/power-apps-mobile-canvas-app-restarts.md
16951695
- name: Mobile offline for model-driven apps
16961696
items:
@@ -2118,9 +2118,9 @@
21182118
- name: How-to guides for extending portals
21192119
items:
21202120
- name: Embed portal in another website
2121-
href: ./portals/embed-portal-website.md
2121+
href: /power-pages/configure/embed-website
21222122
- name: Set up Azure Front Door with portals
2123-
href: ./portals/azure-front-door.md
2123+
href: /power-pages/configure/azure-front-door
21242124
- name: For developers
21252125
items:
21262126
- name: Work with Liquid templates

powerapps-docs/maker/canvas-apps/embed-apps-dev.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ In this topic, we'll show you how to set parameters for app embedding; then we'l
2525
![Power BI dashboard with embedded app.](./media/embed-apps-dev/embed-dashboard.png)
2626

2727
> [!NOTE]
28-
> Only Power Apps users in the same tenant can access the embedded app.
28+
> - Only Power Apps users in the same tenant can access the embedded app.
29+
> - Embedding canvas apps in a native desktop application isn't supported. This excludes first-party integrations such as Power Apps in Teams).
2930
3031
You can also integrate canvas apps into SharePoint Online without using an iframe. More information: [Use the Power Apps web part](https://support.office.com/article/use-the-powerapps-web-part-6285f05e-e441-408a-99d7-aa688195cd1c).
3132

@@ -97,4 +98,4 @@ Keep the following points in mind for authenticating users of your app:
9798
As you can see, embedding apps is simple and powerful. Embedding enables you to bring apps right to the places you and your customers work – websites, Power BI dashboards, SharePoint pages, and more.
9899

99100

100-
[!INCLUDE[footer-include](../../includes/footer-banner.md)]
101+
[!INCLUDE[footer-include](../../includes/footer-banner.md)]

powerapps-docs/maker/portals/admin/clear-server-side-cache.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ The server-side cache is deleted, and data is reloaded from Dataverse.
4747

4848
![Clear portal cache with capacity-based license.](media/clear-server-side-cache/clear-config-capacity-license.png)
4949

50-
To learn more about the differences between Power Apps portals and portal add-ons, read [Power Apps portals, Dynamics 365 portals and add-on portals](../overview.md#power-apps-portals-dynamics-365-portals-and-add-on-portals).
51-
5250
Portal metadata is stored in tables called *configuration tables*. If you change configuration tables using the *Unified Interface application*, you **must** select **Clear config** to clear the configuration cache for changes to reflect in your Portal.
5351

5452
### List of configuration tables refreshed when you clear config
@@ -220,7 +218,7 @@ Clearing the server-side configuration cache for a portal includes refreshing th
220218

221219
Power Apps portals with version 9.2.6.x or later benefit from improved caching functionality to increase consistency and reliability as follows.
222220

223-
- [Capacity-based portals and add-on portals](../overview.md#power-apps-portals-dynamics-365-portals-and-add-on-portals) will use the same caching functionality.
221+
- Capacity-based portals and add-on portals will use the same caching functionality.
224222
- Add-on portals with high load will have improved performance and a reliable data cache refresh.
225223

226224
> [!IMPORTANT]

0 commit comments

Comments
 (0)