Skip to content

Commit 29afd50

Browse files
authored
Merge pull request #1624 from MicrosoftDocs/master
Publishing to live
2 parents 93096df + 69551f0 commit 29afd50

File tree

4 files changed

+59
-3
lines changed

4 files changed

+59
-3
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
href: custom-controls-overview.md
77
- name: Create, debug and deploy custom components using Microsoft PowerApps CLI
88
href: create-custom-controls-using-pcf.md
9+
- name: Update tooling to latest version
10+
href: updating-tooling.md
911
- name: Implementing custom components in TypeScript
1012
href: implementing-controls-using-typescript.md
1113
- name: Updating existing PowerApps component framework components into the new tools format
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Updating PowerApps CLI| Microsoft Docs
3+
description: Updating the PowerApps CLI
4+
keywords: PowerApps component framework, Custom components, Component Framework
5+
ms.author: nabuthuk
6+
manager: kvivek
7+
ms.date: 05/23/2019
8+
ms.service: "powerapps"
9+
ms.suite: ""
10+
ms.tgt_pltfrm: ""
11+
ms.topic: "article"
12+
ms.assetid: 47c4426c-e963-4ef6-a4b7-d56591ca8ac2
13+
---
14+
15+
# Updating tooling to latest version
16+
17+
To update your Microsoft PowerApps CLI to the latest version 02.856.1 and take advantage of all the latest capabilities, run the following command in the Developer Command Prompt for VS 2017.
18+
19+
```CLI
20+
pac install latest
21+
```
22+
23+
## What else do I need to know?
24+
25+
If you have already created a solution project or PowerApps component framework project, ensure to update these projects to the latest packages. This will help you leverage newly added capabilities with your existing projects. Newly created projects will already contain these settings.
26+
27+
- Update the version tag in your `pcfproj` located within your PowerApps component framework project folder:
28+
29+
```XML
30+
<PackageReference Include="Microsoft.PowerApps.MSBuild.Pcf" Version="0.*"/>
31+
```
32+
- Update the version tag in your `cdsproj` located within your solution project folder:
33+
34+
```XML
35+
<PackageReference Include="Microsoft.PowerApps.MSBuild.Solution" Version="0.*"/>
36+
```
37+
38+
> [!NOTE]
39+
> After making the above changes, run the command `msbuild /t:restore` to update your project to the correct version.
40+
41+
42+
- Update the version tag in your `package.json` file located within your PowerApps component framework project folder:
43+
44+
```JSON
45+
"devDependencies":{
46+
"pcf-scripts": "^0",
47+
"pcf-start": "^0"
48+
}
49+
```
50+
> [!NOTE]
51+
> After making above changes, using 'npm update' in the command prompt will always update your project to the correct version.

powerapps-docs/maker/canvas-apps/create-component.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@ Components don't support the **UpdateContext** function, but you can create and
4545

4646
## Import and export
4747

48-
If you export a component, you create a local file that you can import to a different app. If the app contains a modified version of the same component, you're prompted to decide whether to replace the modified version or cancel the import. As of this writing, you can't save components to the cloud or share them within an environment.
48+
To import one or more components from one app into another, select **Import components** in the drop-down list of components. A dialog box lists all apps that contain components that you have permission to edit. Select an app, and then select **Import** to import the most recent published version of all of the components in that app. After you import at least one component, you can edit your copy and delete any that you don’t need.
4949

50-
![Import and export](./media/create-component/import.png)
50+
> [!div class="mx-imgBorder"]
51+
> ![Import components dialog box](./media/create-component/import-components.png)
52+
53+
If you export a component, you create a local file that you can import to a different app. If the app contains a modified version of the same component, you're prompted to decide whether to replace the modified version or cancel the import.
5154

5255
## Custom properties
5356

@@ -175,7 +178,7 @@ So far, you've created a component and added it to an app. Next, you'll create a
175178
176179
## Known limitations
177180
178-
- As of this writing, data sources aren't saved with components, so forms and data tables are disabled.
181+
- As of this writing, data sources aren't saved with components, so forms and data tables are disabled.
179182
- If you create a variable in a component, that variable is scoped only to that component and doesn't appear with app variables.
180183
- PowerApps doesn't support collections in components.
181184
- You can't insert a component into a gallery, a form, or a data card.
Loading

0 commit comments

Comments
 (0)