Skip to content

Commit 460bf7d

Browse files
committed
Updates
1 parent d13e1d4 commit 460bf7d

File tree

7 files changed

+144
-4
lines changed

7 files changed

+144
-4
lines changed

powerapps-docs/developer/common-data-service/org-service/samples/access-discovery-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This sample code shows how to use the discovery service with SDK assemblies. You
2323

2424
This sample will not open dialog to prompt you for connection information.
2525

26-
If you have set `Username` and `Password` values in the App.config connection strings it will use them. Otherwise, set the `username` and `password` variables in the `SampleProgram.Main` method.
26+
If you have set and values in the App.config connection strings, it will use them. Otherwise, set the `username` and `password` variables in the `SampleProgram.Main` method.
2727

2828
## What this sample does
2929

powerapps-docs/developer/common-data-service/org-service/samples/add-record-queue-early-bound.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ search.app:
1919

2020
This sample shows how to add a record to a queue. It creates source and destination queues. It adds a letter activity to the source queue and then moves it to the destination queue. You can download the sample from [here](https://github.com/Microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/RecordToQueue).
2121

22-
This sample requires additional users that are not in your system. Create the users manually in **Office 365** in order to run the sample without any errors. For this sample create a user profile **as is** shown below.
22+
This sample requires additional users that are not in your system. Create the users manually in **Office 365** in order to run the sample without any errors. For this sample, create a user profile **as is** shown below.
2323

2424
**First Name**: Kevin<br/>
2525
**Last Name**: Cook<br/>

powerapps-docs/developer/common-data-service/org-service/samples/add-security-principal-user-team-queue-early-bound.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ In order to simulate the scenario described in [What this sample does](#what-thi
3838
3. The `QueryExpression` retrieves the default business unit for the creation of the team and role.
3939
4. Creates a new example team and role required for the sample.
4040
5. Retrieves the `prvReadQueue` and `prvAppendToQueue` privileges.
41-
6. The `AddPrivilegeRoleRequest` method adds the `prvReadQueue` abd `prvAppendToQueue` privileges to the example role.
41+
6. The `AddPrivilegeRoleRequest` method adds the `prvReadQueue` and `prvAppendToQueue` privileges to the example role.
4242

4343
### Demonstrate
4444

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: " Assign a record to a new owner (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
3+
description: "This sample showcases how to assign records to a new owner." # 115-145 characters including spaces. This abstract displays in the search result.
4+
ms.custom: ""
5+
ms.date: 12/20/2019
6+
ms.reviewer: ""
7+
ms.service: powerapps
8+
ms.topic: "samples"
9+
author: "JimDaly" # GitHub ID
10+
ms.author: "jdaly" # MSFT alias of Microsoft employees only
11+
manager: "ryjones" # MSFT alias of manager or PM counterpart
12+
search.audienceType:
13+
- developer
14+
search.app:
15+
- PowerApps
16+
- D365CE
17+
---
18+
19+
# Assign a record to a new owner
20+
21+
This sample shows how to assign an account to another user by using the [IOrganizationService.Update](https://docs.microsoft.com/dotnet/api/microsoft.xrm.sdk.iorganizationservice.update?view=dynamics-general-ce-9) message.
22+
23+
This sample uses the `IOrganization.Update` method rather than the [AssignRequest](https://docs.microsoft.com/dotnet/api/microsoft.crm.sdk.messages.assignrequest?view=dynamics-general-ce-9) because there is an effort to remove specialized messages. More information: [Perform specialized operations using update](https://docs.microsoft.com/powerapps/developer/common-data-service/special-update-operation-behavior)
24+
25+
## How to run this sample
26+
27+
See [How to run this sample](https://github.com/microsoft/PowerApps-Samples/blob/master/cds/README.md) for information about how to run this sample.
28+
29+
## What this sample does
30+
31+
The [IOrganizationService.Update](https://docs.microsoft.com/dotnet/api/microsoft.xrm.sdk.iorganizationservice.update?view=dynamics-general-ce-9) message is intended to be used in a scenario where it contains the data that is needed to update existing record.
32+
33+
## How this sample works
34+
35+
In order to simulate the scenario described in [What this sample does](#what-this-sample-does), the sample will do the following:
36+
37+
### Setup
38+
39+
1. Checks for the current version of the org.
40+
1. Creates required data that this sample requires.
41+
42+
### Demonstrate
43+
44+
1. The `Retrieve` method retrieves the account records created in the setup(#setup).
45+
1. The `Update` message updates the `ownerid` attribute to the user who you want to own the record.
46+
47+
### Clean up
48+
49+
Displays an option to delete all the data created in the sample. The deletion is optional in case you want to examine the data created by the sample. You can manually delete the data to achieve same results.

powerapps-docs/developer/common-data-service/org-service/samples/serialize-deserialize-entity.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ In order to simulate the scenario described in [What this sample does](#what-thi
4747
### Clean up
4848

4949
Display an option to delete the records created in the [Setup](#setup). The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.
50-
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: " Share a queue (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
3+
description: "This sample showcases how to share a queue." # 115-145 characters including spaces. This abstract displays in the search result.
4+
ms.custom: ""
5+
ms.date: 12/20/2019
6+
ms.reviewer: ""
7+
ms.service: powerapps
8+
ms.topic: "samples"
9+
author: "JimDaly" # GitHub ID
10+
ms.author: "jdaly" # MSFT alias of Microsoft employees only
11+
manager: "ryjones" # MSFT alias of manager or PM counterpart
12+
search.audienceType:
13+
- developer
14+
search.app:
15+
- PowerApps
16+
- D365CE
17+
---
18+
19+
# Share a queue
20+
21+
This sample shows how to give a user or team access to a queue. The [AddPrincipalToQueueRequest](https://docs.microsoft.com/dotnet/api/microsoft.crm.sdk.messages.addprincipaltoqueuerequest?view=dynamics-general-ce-9) adds the specified principal to the list of queue members. If the passed-in security principal is a team each member of the team is added to the queue.
22+
23+
## How to run this sample
24+
25+
See [How to run this sample](https://github.com/microsoft/PowerApps-Samples/blob/master/cds/README.md) for information about how to run this sample.
26+
27+
## What this sample does
28+
29+
The [AddPrincipalToQueueRequest](https://docs.microsoft.com/dotnet/api/microsoft.crm.sdk.messages.addprincipaltoqueuerequest?view=dynamics-general-ce-9) message is intended to be used in a scenario where it contains the data to add the specified principal to the list of queue members. If the principal is a team, add each team member to the queue.
30+
31+
## How this sample works
32+
33+
In order to simulate the scenario described in [What this sample does](#what-this-sample-does), the sample will do the following:
34+
35+
### Setup
36+
37+
1. Checks for the current version of the org.
38+
1. Creates required data that this sample requires.
39+
40+
### Demonstrate
41+
42+
The `AddPrincipalToQueueRequest` message shares a queue to a team.
43+
44+
### Clean up
45+
46+
Displays an option to delete all the data created in the sample. The deletion is optional in case you want to examine the data created by the sample. You can manually delete the data to achieve same results.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: " Update a connection role (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
3+
description: "This sample showcases how to update a connection role" # 115-145 characters including spaces. This abstract displays in the search result.
4+
ms.custom: ""
5+
ms.date: 12/20/2019
6+
ms.reviewer: ""
7+
ms.service: powerapps
8+
ms.topic: "samples"
9+
author: "JimDaly" # GitHub ID
10+
ms.author: "jdaly" # MSFT alias of Microsoft employees only
11+
manager: "ryjones" # MSFT alias of manager or PM counterpart
12+
search.audienceType:
13+
- developer
14+
search.app:
15+
- PowerApps
16+
- D365CE
17+
---
18+
19+
# Update a connection role (early bound)
20+
21+
This sample shows how to modify the properties of the connection role, such as a role name, description, and category.
22+
23+
## How to run this sample
24+
25+
[!include[cc-how-to-run-samples](../../includes/cc-how-to-run-samples.md)]
26+
27+
## What this sample does
28+
29+
The [IOrganizationService.Update](https://docs.microsoft.com/dotnet/api/microsoft.xrm.sdk.iorganizationservice.update?view=dynamics-general-ce-9) message is intended to be used in a scenario where it contains the data that is needed to update existing record.
30+
31+
## How this sample works
32+
33+
In order to simulate the scenario described in [What this sample does](#what-this-sample-does), the sample will do the following:
34+
35+
### Setup
36+
37+
1. Checks for the current version of the org.
38+
1. Creates required data that this sample requires.
39+
40+
### Demonstrate
41+
42+
The `Update` message updates the connection role.
43+
44+
### Clean up
45+
46+
Displays an option to delete all the data created in the sample. The deletion is optional in case you want to examine the data created by the sample. You can manually delete the data to achieve same results.

0 commit comments

Comments
 (0)