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/developer/component-framework/code-components-alm.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@ It's recommended that the MAJOR and MINOR version of the code component's versio
290
290
291
291
A [Dataverse solution has four parts](/powerapps/maker/data-platform/update-solutions#understanding-version-numbers-for-updates) and it can be thought of in the following structure: `MAJOR.MINOR.BUILD.REVISION`.
292
292
293
-
If you're using **AzureDevOps**, you can set your build pipeline versioning using the `Build` and `Rev` environment variables ([Run (build) number - Azure Pipelines](/azure/devops/pipelines/process/run-number?view=azure-devops&tabs=yaml&preserve-view=true)), and use PowerShell script similar to the approach described in the article [Use PowerShell scripts to customize pipelines](/azure/devops/pipelines/scripts/powershell?view=azure-devops&tabs=yaml#example-powershell-script-version-assemblies&preserve-view=true).
293
+
If you're using **AzureDevOps**, you can set your build pipeline versioning using the `Build` and `Rev` environment variables ([Run (build) number - Azure Pipelines](/azure/devops/pipelines/process/run-number)), and use PowerShell script similar to the approach described in the article [Use PowerShell scripts to customize pipelines](/azure/devops/pipelines/scripts/powershell#example-powershell-script-version-assemblies).
294
294
295
295
| Semantic version part | ControlManifest.Input.xml version part<br />`MAJOR.MINOR.PATCH`| Solution.xml version part<br />`MAJOR.MINOR.BUILD.REVISION`| AzureDevOps Build Version |
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/best-practices/business-logic/remove-unsupported-code-using-reflection-workflow-activities.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ The underlying issue about supporting strong types has been fixed, but this code
63
63
64
64
## Additional information
65
65
66
-
Currently reflection is not allowed. This code references an internal assembly that was included in a white list so that internal code could reflect on it. This is why it does not currently throw an error. But when general restrictions are lifted in the future, this will cause the workflow activity to break.
66
+
Currently reflection is not allowed. This code references an internal assembly that was included in an allow list so that internal code could reflect on it. This is why it does not currently throw an error. But when general restrictions are lifted in the future, this will cause the workflow activity to break.
67
67
68
68
In order to provide greater capabilities within custom workflow activities without breaking people's business logic, we need everyone to review their code base and remove references like this.
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/includes/data-service-errors.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2097,7 +2097,7 @@
2097
2097
|0x8004F050<br />-2147159984|Name: **LayerDesiredOrderInvalidXMLDetail**<br />Message: The LayerDesiredOrder parameter contains an invalid XML schema. Check the property [{0}].|
2098
2098
|0x8004F052<br />-2147159982|Name: **LayerDesiredOrderNotAllowedOnPatch**<br />Message: The LayerDesiredOrder parameter cannot be used when importing a Patch. The parameter can only be used while importing a solution.|
2099
2099
|0x8004F048<br />-2147159992|Name: **LayerDesiredOrderNotSamePublisher**<br />Message: The solution [{0}] was used in the LayerDesiredOrder parameter, but its publisher [{1}] does not match the publisher of the solution being installed: [{2}]. This parameter can be used only by solutions from the same publisher.|
2100
-
|0x8004F065<br />-2147159963|Name: **LayerDesiredOrderNotWhitelist**<br />Message: The LayerDesiredOrder parameter is present in the import request of [{0}], but this solution is not allowed to use it. Solutions must be whitelisted to use this feature.|
2100
+
|0x8004F065<br />-2147159963|Name: **LayerDesiredOrderNotWhitelist**<br />Message: The LayerDesiredOrder parameter is present in the import request of [{0}], but this solution is not allowed to use it. Solutions must be allow listed to use this feature.|
2101
2101
|0x8004F047<br />-2147159993|Name: **LayerDesiredOrderPendingUpgrade**<br />Message: The solution [{0}] used in LayerDesiredOrder parameter has a pending upgrade. Please complete its upgrade before retrying this operation.|
2102
2102
|0x8004F056<br />-2147159978|Name: **LayerDesiredOrderPublisherNotAllowed**<br />Message: The publisher [{0}] is not allowed to use the LayerDesiredOrder parameter.|
2103
2103
|0x8004F058<br />-2147159976|Name: **LayerDesiredOrderRestrictedSolution**<br />Message: The LayerDesiredOrder parameter cannot be used on [{0}].|
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/optimistic-concurrency.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -58,8 +58,8 @@ For information about using Organization service to apply optimistic concurrency
58
58
59
59
When the **IfVersionMatches** behavior is indicated on an update to a table, and where optimistic concurrency isn’t enabled, a fault is returned.
60
60
61
-
You can check the [Code](/dotnet/api/system.servicemodel.faultexception.code?view=netframework-4.6.2&preserve-view=true) property of the returned fault to determine if the fault is related to optimistic concurrency. The codes for the error conditions that were shown previously were obtained from the ErrorCodes.cs helper code.
62
-
61
+
You can check the [Code](/dotnet/api/system.servicemodel.faultexception.code) property of the returned fault to determine if the fault is related to optimistic concurrency. The codes for the error conditions that were shown previously were obtained from the ErrorCodes.cs helper code.
title: "Sample: Solution staging with asynchronous import (Microsoft Dataverse) | Microsoft Docs"# Intent and product brand in a unique string of 43-59 chars including spaces
3
+
description: "Demonstrates how to stage and asynchronously import a solution."# 115-145 characters including spaces. This abstract displays in the search result.
4
+
ms.custom: ""
5
+
ms.date: 04/05/2022
6
+
ms.reviewer:
7
+
ms.topic: sample
8
+
author: "phecke"# GitHub ID
9
+
ms.author: "pehecke"# MSFT alias of Microsoft employees only
10
+
manager: "kvivek"# MSFT alias of manager or PM counterpart
11
+
search.audienceType:
12
+
- developer
13
+
search.app:
14
+
- PowerApps
15
+
- D365CE
16
+
---
17
+
18
+
# Sample: Solution staging with asynchronous import
Be sure to edit the App.config file and set the Username, Password, and Url values for your test environment.
34
+
35
+
## What this sample does
36
+
37
+
This sample shows how to stage (load) a solution in a Microsoft Dataverse environment and check the solution validation results. This enables you to check for a valid solution staging prior to solution import. Next, the sample performs an asynchronous import of the staged solution. An asynchronous job allows for importing large solutions and avoiding a timeout error.
38
+
39
+
## How this sample works
40
+
41
+
In order to simulate the scenario described in [What this sample does](#what-this-sample-does), the sample will do the following:
42
+
43
+
### Setup
44
+
45
+
1. Invokes the SampleHelpers.Connect method to authenticate the user and return a web service reference.
46
+
47
+
### Demonstrate
48
+
49
+
1. The `StageSolution` method reads the compressed solution file and stages the solution.
50
+
1. The `ImportSolution` method imports the solution using an asynchronous job.
51
+
1. The `CheckImportStatus` method waits for the asynchronous job to complete and checks the job for a successful status.
52
+
53
+
### Clean up
54
+
55
+
The program does not automatically delete the imported solution. You should manually delete the solution named "Contoso sample" from your test environment.
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/powerapps-cli.md
+25-2Lines changed: 25 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,28 @@ Launch Visual Studio Code and select the **Extensions** icon, click on the ellip
85
85
> [!div class="mx-imgBorder"]
86
86
> 
87
87
88
+
### Standalone Power Platform CLI
89
+
90
+
To install standalone Power Platform CLI:
91
+
92
+
<!--1. Install [Npm](https://www.npmjs.com/get-npm) (comes with Node.js) or [Node.js](https://nodejs.org/en/) (comes with npm). We recommend LTS (Long Term Support) version 10.15.3 LTS because it seems to be the most stable.
1. If you don’t already have Visual Studio 2017 or later, follow one of these options:
97
+
- Option 1: Install [Visual Studio 2017](/visualstudio/install/install-visual-studio?view=vs-2017) or later.
98
+
- Option 2: Install [.NET Core 2.2 SDK](https://dotnet.microsoft.com/download/dotnet-core/2.2) and then install [Visual Studio Code](https://code.visualstudio.com/Download)-->
99
+
1. Download and install [Microsoft Power Platform CLI](https://aka.ms/PowerAppsCLI).
100
+
101
+
1. To take advantage of all the latest capabilities, update Microsoft Power Platform CLI tooling to the latest version by using this command (not applicable for Power Platform VS Code Extension):
102
+
```CLI
103
+
pac install latest
104
+
105
+
```
106
+
> [!NOTE]
107
+
> - Currently, Microsoft Power Platform CLI is supported only on Windows 10 and Windows 11.
108
+
> - Power Platform Tools for Visual Studio Code, and works on Windows 10, Windows 11, Linux, and MacOS.
109
+
88
110
## Successful installation
89
111
90
112
Once the installation is successful, you will need to restart Visual Studio Code, upon which you will see the following notification.
@@ -125,8 +147,7 @@ This table lists some of the common commands used in the CLI.
125
147
126
148
## Uninstall Microsoft Power Platform CLI
127
149
128
-
To uninstall Microsoft Power Platform CLI tooling, run the MSI installer from [here](/powerapps/developer/data-platform/powerapps-cli).
129
-
150
+
To uninstall Microsoft Power Platform CLI tooling, run the MSI from [here](/powerapps/developer/data-platform/powerapps-cli).
130
151
131
152
To uninstall the Visual Studio Code extension, follow the same steps as installing the extension, except this time select the **Uninstall** button.
132
153
@@ -148,3 +169,5 @@ If you're a Private Preview participant and have an older version of CLI, follow
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/understand-terminology.md
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -31,19 +31,18 @@ The data structures that developers work with are exposed as entities, and the t
31
31
32
32
|To...|Using...|Developers will...|
33
33
|--|--|--|
34
-
|Create a Dataverse table|[Web API](/powerapps/developer/data-platform/webapi/overview)|POST an instance of the [EntityMetadata EntityType](/dynamics365/customer-engagement/web-api/entitymetadata?view=dynamics-ce-odata-9&preserve-view=true) to the `/EntityDefinitions` resource|
35
-
|Create a Dataverse table|[.NET SDK](/powerapps/developer/data-platform/org-service/overview)|Create an instance of the [EntityMetadata Class](/dotnet/api/microsoft.xrm.sdk.metadata.entitymetadata?view=dynamics-general-ce-9&preserve-view=true) and use the [CreateEntityRequest Class](/dotnet/api/microsoft.xrm.sdk.messages.createentityrequest?view=dynamics-general-ce-9&preserve-view=true) to send this to the Organization service|
36
-
|Create a row or record in a Dataverse table|[Web API](/powerapps/developer/data-platform/webapi/overview)|POST data defined as an a specific EntityType. You can find a list of these EntityTypes here: [Web API EntityType Reference](/dynamics365/customer-engagement/web-api/entitytypes?view=dynamics-ce-odata-9&preserve-view=true)|
37
-
|Create a row or record in a Dataverse table|[.NET SDK](/powerapps/developer/data-platform/org-service/overview)|Create an instance of the [Entity Class](/dotnet/api/microsoft.xrm.sdk.entity?view=dynamics-general-ce-9&preserve-view=true) or a class that inherits from it (Account, Contact, etc.) and use the [CreateRequest Class](/dotnet/api/microsoft.xrm.sdk.messages.createrequest?view=dynamics-general-ce-9&preserve-view=true) to send this to the Organization service. A developer can find the information they need to use the Entity class in the [entity reference](/powerapps/developer/data-platform/reference/about-entity-reference).|
38
-
34
+
|Create a Dataverse table|[Web API](/powerapps/developer/data-platform/webapi/overview)|POST an instance of the [EntityMetadata EntityType](/dynamics365/customer-engagement/web-api/entitymetadata) to the `/EntityDefinitions` resource|
35
+
|Create a Dataverse table|[.NET SDK](/powerapps/developer/data-platform/org-service/overview)|Create an instance of the [EntityMetadata Class](/dotnet/api/microsoft.xrm.sdk.metadata.entitymetadata) and use the [CreateEntityRequest Class](/dotnet/api/microsoft.xrm.sdk.messages.createentityrequest) to send this to the Organization service|
36
+
|Create a row or record in a Dataverse table|[Web API](/powerapps/developer/data-platform/webapi/overview)|POST data defined as an a specific EntityType. You can find a list of these EntityTypes here: [Web API EntityType Reference](/dynamics365/customer-engagement/web-api/entitytypes)|
37
+
|Create a row or record in a Dataverse table|[.NET SDK](/powerapps/developer/data-platform/org-service/overview)|Create an instance of the [Entity Class](/dotnet/api/microsoft.xrm.sdk.entity) or a class that inherits from it (Account, Contact, etc.) and use the [CreateRequest Class](/dotnet/api/microsoft.xrm.sdk.messages.createrequest) to send this to the Organization service. A developer can find the information they need to use the Entity class in the [entity reference](/powerapps/developer/data-platform/reference/about-entity-reference).|
39
38
40
39
## Terminology use depending on protocol or technology
41
40
42
41
The terminology used in the developer documentation depends on the protocol or class library used by developers.
43
42
44
43
- When working with the [Web API](/powerapps/developer/data-platform/webapi/overview), we use the terminology defined by the OData protocol. Data structures are defined as *EntityTypes*, which have properties and navigation properties.
45
44
46
-
- When working with the [.NET SDK](/powerapps/developer/data-platform/org-service/overview), we use *Entity* because there is an Entity class. The Entity class has an [Attributes](/dotnet/api/microsoft.xrm.sdk.entity.attributes?view=dynamics-general-ce-9&preserve-view=true) property that contains a collection of attributes that are defined by data in an [AttributeMetadata Class](/dotnet/api/microsoft.xrm.sdk.metadata.attributemetadata?view=dynamics-general-ce-9&preserve-view=true) and many other classes derived from it.
45
+
- When working with the [.NET SDK](/powerapps/developer/data-platform/org-service/overview), we use *Entity* because there is an Entity class. The Entity class has an [Attributes](/dotnet/api/microsoft.xrm.sdk.entity.attributes) property that contains a collection of attributes that are defined by data in an [AttributeMetadata Class](/dotnet/api/microsoft.xrm.sdk.metadata.attributemetadata) and many other classes derived from it.
47
46
48
47
We use the appropriate terminology to describe the SDK and Web API technology. The developer documentation will *at times* use different terminology than the Power Apps user interface. The table below will help guide you to some of the terminology differences between the developer documentation and rest of the Power Apps documentation.
49
48
@@ -53,4 +52,4 @@ We use the appropriate terminology to describe the SDK and Web API technology. T
0 commit comments