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
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.
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)
23
28
24
-
To begin, open **Developer Command Prompt for VS 2017 or higher** after installing Microsoft Power Platform CLI.
29
+
## Create a new component
25
30
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:
29
35
30
36
```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
32
38
```
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)
36
42
37
43
## Build your component
38
44
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.
40
46
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.
42
48
43
49
> [!TIP]
44
50
> To debug the component during or after the build operation, see [Debug a code component](debugging-custom-controls.md).
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/tools/devtools-create-project.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Quickstart: Create a Power Platform Tools project | Microsoft Docs"
3
3
description: "Learn how to start a new Visual Studio project for plug-in or custom workflow assembly development using Power Platform Tools."
4
4
ms.custom: ""
5
-
ms.date: 06/20/2020
5
+
ms.date: 01/27/2023
6
6
ms.reviewer: "pehecke"
7
7
8
8
ms.topic: "article"
@@ -23,10 +23,10 @@ Like any Visual Studio solution, you begin by creating a new project. In the new
23
23
24
24
## Prerequisites
25
25
26
-
- Visual Studio 2019
26
+
- Visual Studio 2019 or 2022
27
27
- Power Platform Tools for Visual Studio
28
28
- 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)
30
30
- Power Apps/Dataverse subscription or a trial environment
31
31
- Windows Workflow Foundation (only for custom workflow activity development)
32
32
@@ -61,7 +61,7 @@ The easy way to create a Power Platform solution containing a CrmPackage project
61
61
62
62
1. In the Visual Studio new project dialog, search for and choose **Power Platform Solution Template** and then select **Next**.
63
63
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.
65
65
66
66
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.
67
67
@@ -85,7 +85,7 @@ Only projects created with a Power Platform Tools template should be added to a
85
85
86
86
1. Select one of the installed Power Platform Tools templates and select **Next**.
87
87
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.
89
89
90
90
### Add an existing project to a Power Platform solution
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/tools/devtools-install.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Install Power Platform Tools | Microsoft Docs"
3
3
description: "Learn how to install the Power Platform Tools extension for Visual Studio."
4
4
ms.custom: ""
5
-
ms.date: 06/20/2022
5
+
ms.date: 01/27/2023
6
6
ms.reviewer: "pehecke"
7
7
8
8
ms.topic: "article"
@@ -30,7 +30,7 @@ Power Platform Tools for Visual Studio supports the rapid creation, debugging, a
30
30
31
31
Before installing Power Platform Tools into Visual Studio you must have the following applications and frameworks installed on your development computer:
32
32
33
-
- Microsoft Visual Studio 2019.
33
+
- Microsoft Visual Studio 2019 or 2022.
34
34
35
35
- .NET Framework 4.6.2 (required only for plug-in and workflow activity development)
36
36
@@ -82,6 +82,7 @@ You can find a few Power Platform Tools options in Visual Studio by choosing **T
82
82
### See Also
83
83
84
84
[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)
Copy file name to clipboardExpand all lines: powerapps-docs/maker/portals/admin/clear-server-side-cache.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,6 @@ The server-side cache is deleted, and data is reloaded from Dataverse.
47
47
48
48

49
49
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
-
52
50
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.
53
51
54
52
### 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
220
218
221
219
Power Apps portals with version 9.2.6.x or later benefit from improved caching functionality to increase consistency and reliability as follows.
222
220
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.
224
222
- Add-on portals with high load will have improved performance and a reliable data cache refresh.
You can now use the Power Platform admin center to manage portals that have both capacity-based and add-on licenses. You can also see information such as how many days are left before a trial portal expires. For more information about portal licensing, go to the [licensing FAQ](/power-platform/admin/powerapps-flow-licensing-faq#portals) and [portal differences](../overview.md#power-apps-portals-dynamics-365-portals-and-add-on-portals). For more information about the Power Platform admin center, go to [Administer Microsoft Power Platform](/power-platform/admin/admin-documentation).
22
+
You can now use the Power Platform admin center to manage portals that have both capacity-based and add-on licenses. You can also see information such as how many days are left before a trial portal expires. For more information about portal licensing, go to the [licensing FAQ](/power-platform/admin/powerapps-flow-licensing-faq#portals) and [portal differences](../overview.md). For more information about the Power Platform admin center, go to [Administer Microsoft Power Platform](/power-platform/admin/admin-documentation).
23
23
24
24
You can manage portals in the Power Platform admin center in two ways:
0 commit comments