Skip to content

Commit 9059674

Browse files
committed
Merge remote-tracking branch 'origin/master' into matp-solution-checker-admin-mode
2 parents 0428c55 + fa26bcb commit 9059674

File tree

65 files changed

+2053
-2239
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+2053
-2239
lines changed

.openpublishing.redirection.json

Lines changed: 319 additions & 299 deletions
Large diffs are not rendered by default.

powerapps-docs/developer/common-data-service/create-package-app-appsource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ A package lets you bundle and deploy multiple files related to your app at once.
4444

4545
```xml
4646
<?xml version="1.0" encoding="utf-8"?>
47-
<Types xmlns="https://schemas.openxmlformats.org/package/2006/content-types">
47+
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
4848
<Default Extension="xml" ContentType="application/octet-stream" />
4949
<Default Extension="xaml" ContentType="application/octet-stream" />
5050
<Default Extension="dll" ContentType="application/octet-stream" />

powerapps-docs/developer/common-data-service/define-alternate-keys-entity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Work with alternate keys (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "The topic explains about how to create alternate keys for an entity. Alternate keys can be created programmatically or by using the customization tools" # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 06/24/2020
5+
ms.date: 08/01/2020
66
ms.reviewer: "pehecke"
77
ms.service: powerapps
88
ms.topic: "article"
@@ -23,7 +23,7 @@ All Common Data Service records have unique identifiers defined as GUIDs. These
2323

2424
## Create alternate keys
2525

26-
You can create alternate keys programmatically or by using the customizations tools. For more information about using the customization tools, see [Define alternate keys to reference CRM records](https://technet.microsoft.com/library/29e53691-0b18-4fde-a1d0-7490aa227898.aspx).
26+
You can create alternate keys programmatically or by using the customizations tools. For more information about using the customization tools, see [Define alternate keys using Power Apps portal](../../maker/common-data-service/define-alternate-keys-portal.md).
2727

2828
To define alternate keys programmatically, you first have to create an object of type <xref:Microsoft.Xrm.Sdk.Metadata.EntityKeyMetadata> (or use <xref href="Microsoft.Dynamics.CRM.EntityKeyMetadata?text=EntityKeyMetadata EntityType" /> if working with Web API). This class contains the key attributes. Once the key attributes are set, you can use `CreateEntityKey` to create the keys for an entity. This message takes the entity name and `EntityKeyMetadata` values as input to create the key.
2929

@@ -54,7 +54,7 @@ You should be aware of the following constraints when creating alternate keys:
5454

5555
- **Unicode characters in key value**
5656

57-
If the data within a field that is used in an alternate key will contain one of the following characters `/`,`<`,`>`,`*`,`%`,`&`,`:`,`\\` then update or upsert (PATCH) actions will not work. If you only need uniqueness then this approach will work, but if you need to use these keys as part of data integration then it is best to create the key on fields that won't have data with those characters.
57+
If the data within a field that is used in an alternate key will contain one of the following characters `/`,`<`,`>`,`*`,`%`,`&`,`:`,`\\`,`?` then retrieve (`GET`), update or upsert (`PATCH`) actions will not work. If you only need uniqueness then this approach will work, but if you need to use these keys as part of data integration then it is best to create the key on fields that won't have data with those characters.
5858

5959
<a name="BKMK_crud"></a>
6060

powerapps-docs/developer/common-data-service/org-service/use-conditionexpression-class.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Use the ConditionExpression class (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "Read how you can use the ConditionExpression class to compare an attribute to a value or set of values by using an operator, such as &quot;equal to&quot; or &quot;greater than&quot;" # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 10/31/2018
5+
ms.date: 08/03/2020
66
ms.reviewer: "pehecke"
77
ms.service: powerapps
88
ms.topic: "article"
@@ -105,20 +105,28 @@ public ConditionExpression
105105
)
106106
```
107107

108-
In the SDK, two APIs are introduced to support column comparison. The
109-
first identifies the original attribute, the second allows
110-
for the inclusion of the attribute you want to compare it against.
108+
By passing in `true` as the value for the `compareColumns` parameter, the `value` is treated as the
109+
name of the second attribute to compare the values in `attributeName` to. Pass in `false` to treat it
110+
as a literal value instead.
111111

112-
If `compareColumns` is passed in as `true`, it will compare the two attributes
113-
and return all records that match.
112+
For example:
114113

115-
If a `false` value is passed, it will return all records for one attribute and
116-
return values that match the provided value.
114+
```csharp
115+
new ConditionExpression("firstname", ConditionOperator.Equal, true, "lastname");
116+
```
117+
118+
This code creates a condition to return only records where the first and last names are the same, while
119+
120+
```csharp
121+
new ConditionExpression("firstname", ConditionOperator.Equal, false, "John");
122+
```
123+
124+
creates a condition to return only records where the first name is John.
117125

118126
More information: [Use column comparison in queries](../column-comparison.md)
119127

120128
### See also
121129
[Building Queries](build-queries-with-queryexpression.md)
122130
[Build Queries with QueryExpression](build-queries-with-queryexpression.md)
123131
[Use the FilterExpression Class](use-filterexpression-class.md)
124-
<xref:Microsoft.Xrm.Sdk.Query.ConditionExpression>
132+
<xref:Microsoft.Xrm.Sdk.Query.ConditionExpression>

powerapps-docs/developer/common-data-service/use-single-tenant-server-server-authentication.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ To create an unlicensed "application user" in your environment, follow these ste
9797
9898
7. Before exiting the user form, choose **MANAGE ROLES** and assign a security role to this application user so that the application user can access the desired organization data.
9999

100+
> [!NOTE]
101+
> In an environment, only one Application User for each Azure AD registered application is supported.
102+
100103
> [!IMPORTANT]
101104
> When developing a real-world application using S2S, you should use a custom security role which can be stored in a solution and distributed along with your application.
102105

powerapps-docs/developer/common-data-service/webapi/TOC.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,4 @@
9393
- name: Sample data
9494
href: ../sample-data.md #Topic is for both Web API and Organization service
9595
- name: Samples
96-
items:
97-
- name: Data operations Sample Templates
98-
href: web-api-samples.md
99-
items:
100-
- name: Basic Operations
101-
href: web-api-basic-operations-sample.md
102-
- name: Query Data
103-
href: web-api-query-data-sample.md
104-
- name: Conditional Operations
105-
href: web-api-conditional-operations-sample.md
106-
- name: Functions and Actions
107-
href: web-api-functions-actions-sample.md
108-
- name: Samples
109-
href: samples/toc.yml
96+
href: samples/toc.yml

powerapps-docs/developer/common-data-service/webapi/associate-disassociate-entities-using-web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ OData-Version: 4.0
195195

196196
### See also
197197

198-
[Web API Basic Operations Sample (C#)](samples/basic-operations-csharp.md)
198+
[Web API Basic Operations Sample (C#)](samples/cdswebapiservice-basic-operations.md)
199199
[Web API Basic Operations Sample (Client-side JavaScript)](samples/basic-operations-client-side-javascript.md)
200200
[Perform operations using the Web API](perform-operations-web-api.md)
201201
[Compose Http requests and handle errors](compose-http-requests-handle-errors.md)

powerapps-docs/developer/common-data-service/webapi/create-entity-web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ OData-Version: 4.0
294294

295295
### See also
296296

297-
[Web API Basic Operations Sample (C#)](samples/basic-operations-csharp.md)<br />
297+
[Web API Basic Operations Sample (C#)](samples/cdswebapiservice-basic-operations.md)<br />
298298
[Web API Basic Operations Sample (Client-side JavaScript)](samples/basic-operations-client-side-javascript.md)<br />
299299
<xref href="Microsoft.Dynamics.CRM.InitializeFrom?text=InitializeFrom Function" />
300300
[Perform operations using the Web API](perform-operations-web-api.md)<br />

powerapps-docs/developer/common-data-service/webapi/perform-conditional-operations-using-web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ OData-Version: 4.0
242242

243243
### See also
244244

245-
[Web API Conditional Operations Sample (C#)](samples/conditional-operations-csharp.md)<br />
245+
[Web API Conditional Operations Sample (C#)](samples/cdswebapiservice-conditional-operations.md)<br />
246246
[Web API Conditional Operations Sample (Client-side JavaScript)](samples/conditional-operations-client-side-javascript.md)<br />
247247
[Perform operations using the Web API](perform-operations-web-api.md)<br />
248248
[Compose Http requests and handle errors](compose-http-requests-handle-errors.md)<br />

powerapps-docs/developer/common-data-service/webapi/query-data-web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ More information: [Use column comparison in queries](../column-comparison.md)
873873

874874
### See also
875875

876-
[Web API Query Data Sample (C#)](samples/query-data-csharp.md)<br />
876+
[Web API Query Data Sample (C#)](samples/cdswebapiservice-query-data.md)<br />
877877
[Web API Query Data Sample (Client-side JavaScript)](samples/query-data-client-side-javascript.md)<br />
878878
[Perform operations using the Web API](perform-operations-web-api.md)<br />
879879
[Compose Http requests and handle errors](compose-http-requests-handle-errors.md)<br />

0 commit comments

Comments
 (0)