Skip to content

Commit 49ce53e

Browse files
authored
Live publish
2 parents db1efea + 7474ae0 commit 49ce53e

30 files changed

+1312
-1620
lines changed

.openpublishing.redirection.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "powerapps-docs/developer/common-data-service/webapi/samples/basic-operations-csharp.md",
5+
"redirect_url": "cdswebapiservice-basic-operations",
6+
"redirect_document_id": "false"
7+
},
8+
{
9+
"source_path": "powerapps-docs/developer/common-data-service/webapi/samples/conditional-operations-csharp.md",
10+
"redirect_url": "cdswebapiservice-conditional-operations",
11+
"redirect_document_id": "false"
12+
},
13+
{
14+
"source_path": "powerapps-docs/developer/common-data-service/webapi/samples/query-data-csharp.md",
15+
"redirect_url": "cdswebapiservice-query-data",
16+
"redirect_document_id": "false"
17+
},
318
{
419
"source_path": "powerapps-docs/maker/canvas-apps/entity-form-control.md",
520
"redirect_url": "controls/control-form-detail",

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 "equal to" or "greater than"" # 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 />

powerapps-docs/developer/common-data-service/webapi/retrieve-and-execute-predefined-queries.md

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

223223
## See also
224224

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ Requesting formatted values for individual record retrievals is done the same wa
437437

438438
### See also
439439

440-
[Web API Basic Operations Sample (C#)](samples/basic-operations-csharp.md)<br />
440+
[Web API Basic Operations Sample (C#)](samples/cdswebapiservice-basic-operations.md)<br />
441441
[Web API Basic Operations Sample (Client-side JavaScript)](samples/basic-operations-client-side-javascript.md)<br />
442442
[Perform operations using the Web API](perform-operations-web-api.md)<br />
443443
[Compose Http requests and handle errors](compose-http-requests-handle-errors.md)<br />

0 commit comments

Comments
 (0)