Skip to content

Commit 8990de0

Browse files
committed
Merge remote-tracking branch 'origin/master' into matp-export-data-lake
2 parents 3be78f9 + aeadc18 commit 8990de0

File tree

91 files changed

+5895
-5931
lines changed

Some content is hidden

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

91 files changed

+5895
-5931
lines changed

.openpublishing.redirection.json

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

powerapps-docs/developer/common-data-service/configure-entities-attributes-auditing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ There are three levels where auditing can be configured: organization, entity, a
3939

4040
The following table lists the non-customizable entities that cannot be audited. This table was obtained by testing for a `CanModifyAuditSettings` attribute value of `false` on each entity’s metadata.
4141

42-
||
42+
|Non-customizable entities|
4343
|-|
4444
|ActivityPointer|
4545
|Annotation|

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/entity-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Some entities will have different sets of options.
177177
**Example**: `PhoneCall` entity `StateCode` and `StatusCode` options
178178

179179

180-
|`StateCode`|`StatusCode`|
180+
|StateCode|StatusCode|
181181
|---------|---------|
182182
|0 : Open|1: Open|
183183
|1 : Completed|2: Made <br />4: Received|

powerapps-docs/developer/common-data-service/includes/data-service-errors.md

Lines changed: 3738 additions & 0 deletions
Large diffs are not rendered by default.

powerapps-docs/developer/common-data-service/multi-select-picklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The following examples shows the use of `ContainValues` and `not-contain-values`
8989

9090
### Contact entity values
9191

92-
|`fullname`| `sample_outdooractivities` |
92+
|'fullname' attribute| 'sample_outdooractivities' attribute |
9393
|--------|-------------------|
9494
|Wayne Yarborough|1,9|
9595
|Monte Orton|2|

powerapps-docs/developer/common-data-service/org-service/metadata-retrieve-detect-changes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The classes in the <xref:Microsoft.Xrm.Sdk.Metadata.Query> namespace and the <xr
8383

8484
The following table lists <xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata> properties that cannot be used in a <xref:Microsoft.Xrm.Sdk.Metadata.Query.MetadataFilterExpression>:
8585

86-
|||||
86+
|Properties|Properties (cont'd)|Properties (cont'd)|Properties (cont'd)|
8787
|-|-|-|-|
8888
|<xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.Attributes>|<xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.Description>|<xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.DisplayCollectionName>|<xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.DisplayName>|
8989
|<xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.ManyToManyRelationships>|<xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.ManyToOneRelationships>|<xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.OneToManyRelationships>|<xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.Privileges>|
@@ -249,7 +249,7 @@ EntityProperties.PropertyNames.AddRange(new string[] { "Attributes" });
249249

250250
The following table lists <xref:Microsoft.Xrm.Sdk.Metadata.AttributeMetadata> properties that cannot be used in a <xref:Microsoft.Xrm.Sdk.Metadata.Query.MetadataFilterExpression>
251251

252-
|||
252+
|Properties|Properties (cont'd)|
253253
|-|-|
254254
|<xref:Microsoft.Xrm.Sdk.Metadata.AttributeMetadata.Description>|<xref:Microsoft.Xrm.Sdk.Metadata.AttributeMetadata.DisplayName>|
255255
|<xref:Microsoft.Xrm.Sdk.Metadata.EnumAttributeMetadata.OptionSet>|<xref:Microsoft.Xrm.Sdk.Metadata.LookupAttributeMetadata.Targets>|
@@ -283,7 +283,7 @@ AttributeProperties.PropertyNames.Add("AttributeType");
283283

284284
The following table lists Relationship metadata properties that cannot be used in a MetadataFilterExpression:
285285

286-
||
286+
|Properties|
287287
|-|
288288
|<xref:Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata>.<xref:Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata.AssociatedMenuConfiguration>|
289289
|<xref:Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata>.<xref:Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata.CascadeConfiguration>|

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/org-service/use-filterexpression-class.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ In Common Data Service, you can use the <xref:Microsoft.Xrm.Sdk.Query.FilterExpr
2121

2222
The following table lists the properties for the <xref:Microsoft.Xrm.Sdk.Query.FilterExpression> class.
2323

24-
|||
25-
|-|-|
26-
|Property|Description|
24+
|Property|Description|
25+
|-|-|
2726
|<xref:Microsoft.Xrm.Sdk.Query.FilterExpression.Conditions>|Gets or sets condition expressions that include attributes, condition operators, and attribute values.|
2827
|<xref:Microsoft.Xrm.Sdk.Query.FilterExpression.FilterOperator>|Gets or sets logical `AND/OR` filter operators. This is set by using the <xref:Microsoft.Xrm.Sdk.Query.LogicalOperator> enumeration.|
2928
|<xref:Microsoft.Xrm.Sdk.Query.FilterExpression.Filters>|Gets or sets a hierarchy of condition and logical filter expressions that filter the results of the query.|

0 commit comments

Comments
 (0)