Skip to content

Commit d242620

Browse files
committed
More changes
1 parent 5f45c81 commit d242620

File tree

2 files changed

+7
-56
lines changed

2 files changed

+7
-56
lines changed
Lines changed: 6 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Create and deploy a custom component| Microsoft Docs
2+
title: Create and build a custom component| Microsoft Docs
33
description: Start creating a component using the PowerApps component framework Tooling
44
keywords: PowerApps component framework, Custom components, Component Framework
55
ms.author: nabuthuk
@@ -12,7 +12,7 @@ ms.topic: "article"
1212
ms.assetid: d2cbf58a-9112-45c2-b823-2c07a310714c
1313
---
1414

15-
# Create and deploy a custom component
15+
# Create and build a custom component
1616

1717
[!INCLUDE[cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
1818

@@ -43,56 +43,6 @@ To build your component you can open the folder in Visual Studio Code and use th
4343
> [!TIP]
4444
> To debug your component during or after the build operation, see [Debug custom components](debugging-custom-controls.md).
4545
46-
## Deploy your component
47-
48-
Once you have built your component, you must deploy it to be used.
49-
50-
Follow the steps below to create and import a [solution](/powerapps/maker/common-data-service/solutions-overview) file:
51-
52-
1. Create a new directory and go to it:
53-
54-
`cd <new directory name>`
55-
1. Create a new solution project in the directory of your choice by using the command:
56-
57-
`pac solution init --publisherName <enter your publisher name> --customizationPrefix <enter your publisher name>` after `cd <your new folder>`.
58-
59-
> [!NOTE]
60-
> The [publisherName](https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/reference/entities/publisher) and [cutomizationPrefix](https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/change-solution-publisher-prefix) values must be unique to your environment.
61-
62-
3. Once the new solution project is created, you need to refer to the ___location where the created component is located. You can add the reference by using the following command:
63-
64-
`pac solution add-reference --path <path or relative path of your PowerApps component framework project on disk>`
65-
66-
4. To generate a zip file from your solution project, you will need to `cd` into your solution project directory and build the project using the following command:
67-
68-
`msbuild /t:restore` then `msbuild`
69-
70-
> [!NOTE]
71-
> - If msbuild 15 is not in the path, open Developer Command Prompt for VS 2017 to run the `msbuild` commands.
72-
> - Building the solution in the debug configuration, generates an unmanaged solution package. A managed solution package is generated by building the solution in release configuration. These settings can be overridden by specifying SolutionPackageType property in `cdsproj` file.
73-
74-
If you would like your project build to emit a managed solution or both managed and unmanaged, open the folder where you created your solution project, edit the `cdsproj` file and uncomment the below property group:
75-
```XML
76-
<PropertyGroup>
77-
<SolutionPackageType>Managed</SolutionPackageType>
78-
</PropertyGroup>
79-
```
80-
81-
You can also enable additional solution packaging [capabilities](/powerapps/developer/common-data-service/compress-extract-solution-file-solutionpackager) by adding any of the property group elements below:
82-
83-
```XML
84-
<PropertyGroup>
85-
<SolutionPackageErrorLevel />
86-
<SolutionPackageEnableLocalization />
87-
<SolutionPackagerWorkingDirectory />
88-
<SolutionPackageLogFilePath />
89-
<SolutionPackageZipFilePath />
90-
<SolutionPackageMapFilePath />
91-
</PropertyGroup>
92-
```
93-
94-
5. The generated solution zip file is located in `\bin\debug\`. You must manually [import the solution](https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/import-update-export-solutions) using the web portal once the zip file is ready.
95-
9646
## Known Configuration issues and Workarounds
9747

9848
**Msbuild error MSB4036:**
@@ -110,8 +60,9 @@ Follow the steps below to create and import a [solution](/powerapps/maker/common
11060

11161
### See also
11262

113-
[Debug custom components](debugging-custom-controls.md)
114-
[Implementing components in TypeScript](implementing-controls-using-typescript.md)<br/>
115-
[Updating existing components into new tools format](updating-existing-controls.md)<br/>
63+
[Debug custom components](debugging-custom-controls.md)<br/>
64+
[Package a custom component](import-custom-controls.md)<br/>
65+
[Add custom components to a field or entity](add-custom-controls-to-a-field-or-entity)<br/>
66+
[Updating existing custom components](updating-existing-controls.md)<br/>
11667
[PowerApps component framework API Reference](reference/index.md)<br/>
11768
[PowerApps component framework Overview](overview.md)

powerapps-docs/developer/component-framework/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
href: implementing-controls-using-typescript.md
1313
- name: How-to
1414
items:
15-
- name: Create and deploy a custom component
15+
- name: Create and build a custom component
1616
href: create-custom-controls-using-pcf.md
1717
- name: Debug a custom component
1818
href: debugging-custom-controls.md

0 commit comments

Comments
 (0)