Skip to content

Commit 8fb963d

Browse files
committed
Merge branch 'main' into platform-library-react-controls-preview
2 parents 626c420 + 480184b commit 8fb963d

File tree

73 files changed

+538
-864
lines changed

Some content is hidden

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

73 files changed

+538
-864
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "powerapps-docs/developer/data-platform/outlook-client/sample-create-retrieve-outlook-filters.md",
5+
"redirect_url": "../data-platform/org-service/samples/create-retrieve-outlook-filters",
6+
"redirect_document_id": "false"
7+
},
38
{
49
"source_path": "powerapps-docs/developer/data-platform/org-service/samples/install-remove-sample-data.md",
510
"redirect_url": "../data-platform/sample-data",

powerapps-docs/developer/data-platform/org-service/samples/create-retrieve-outlook-filters.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title: "Sample: Create and retrieve Outlook filters (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This sample showcases how to create and retrieve outlook filters." # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.date: 04/03/2022
5-
author: JimDaly #TODO: No Owner
6-
ms.author: jdaly
7-
manager: kvivek
5+
author: sriharibs-msft
6+
ms.author: srihas
7+
manager: evchaki
88
ms.reviewer: pehecke
99
ms.topic: sample
1010
search.audienceType:
@@ -19,8 +19,6 @@ contributors:
1919

2020
# Sample: Create and retrieve Outlook filters
2121

22-
<!-- Same as powerapps-docs\developer\data-platform\outlook-client\sample-create-retrieve-outlook-filters.md -->
23-
2422
This sample shows how to retrieve filters for Outlook.
2523

2624
You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/CreartRetrieveOutlookFilters).
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
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
19+
20+
<!-- https://docs.microsoft.com/dynamics365/customer-engagement/developer/sample-work-solutions -->
21+
22+
This sample shows how to perform the following actions with solutions:
23+
24+
- Stage a solution and check the validation results
25+
- Import the staged solution using an asynchronous job and check for job completion
26+
27+
You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/SolutionStagingAndImport).
28+
29+
## How to run this sample
30+
31+
[!include[cc-how-to-run-samples](../../includes/cc-how-to-run-samples.md)]
32+
33+
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.
56+
57+
[!INCLUDE[footer-include](../../../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/org-service/samples/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@
268268
items:
269269
- name: Work with solutions
270270
href: work-solutions.md
271+
- name: Staging and async import
272+
href: solution-stage-and-import.md
271273
- name: Detect solution dependencies
272274
href: detect-solution-dependencies.md
273275
- name: Time zones

powerapps-docs/developer/data-platform/org-service/samples/validate-record-state.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
---
22
title: " Validate and set record state (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This sample showcases how to validate a change of state of a table and set state." # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.custom: ""
5-
ms.date: 12/20/2019
6-
ms.reviewer: "pehecke"
7-
4+
ms.date: 04/06/2022
5+
author: NHelgren
6+
ms.author: nhelgren
7+
ms.reviewer: pehecke
8+
manager: sunilg
89
ms.topic: sample
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
1210
search.audienceType:
1311
- developer
1412
search.app:
1513
- PowerApps
1614
- D365CE
15+
contributors:
16+
- JimDaly
17+
- phecke
1718
---
1819

1920
# Validate record state and set the state of record
2021

21-
22-
2322
This sample shows how to validate a change of state of a table and set a state of a table. You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/ValidateAndSetRecordState).
2423

2524
## How to run this sample

powerapps-docs/developer/data-platform/org-service/samples/web-access-plugin.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
22
title: "Sample: Web access from a plug-in (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "Learn how to write a plug-in that can access resources on the World Wide Web." # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.custom: ""
5-
ms.date: 03/17/2021
6-
ms.reviewer: "pehecke"
7-
4+
ms.date: 04/06/2022
5+
author: divka78
6+
ms.author: dikamath
7+
ms.reviewer: pehecke
8+
manager: sunilg
89
ms.topic: sample
9-
author: "JimDaly"
10-
ms.author: "pehecke" # MSFT alias of Microsoft employees only
11-
manager: "kvivek" # MSFT alias of manager or PM counterpart
1210
search.audienceType:
1311
- developer
1412
search.app:
1513
- PowerApps
1614
- D365CE
15+
contributors:
16+
- JimDaly
17+
- phecke
1718
---
1819
# Sample: Web access from a plug-in
1920

powerapps-docs/developer/data-platform/org-service/samples/work-activity-party-records.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
---
22
title: "Sample: Work with activity party records (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This sample shows how to work with activity party records" # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.custom: ""
5-
ms.date: 10/31/2018
6-
ms.reviewer: "pehecke"
7-
4+
ms.date: 04/06/2022
5+
author: mayadumesh
6+
ms.author: mayadu
7+
ms.reviewer: pehecke
8+
manager: jamesol
89
ms.topic: sample
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
1210
search.audienceType:
1311
- developer
1412
search.app:
1513
- PowerApps
1614
- D365CE
15+
contributors:
16+
- JimDaly
17+
- phecke
1718
---
1819
# Sample: Work with activity party records
1920

20-
21-
22-
<!-- https://docs.microsoft.com/dynamics365/customer-engagement/developer/sample-work-activity-party-records -->
23-
2421
This sample code shows how to work with activity party records. You can download the sample from [here](https://github.com/Microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/ActivityPartyRecords).
2522

2623
## How to run this sample

powerapps-docs/developer/data-platform/org-service/samples/work-with-attributes.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
22
title: "Sample: Work with columns (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This sample shows how to work with columns" # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.custom: ""
5-
ms.date: 10/31/2018
6-
ms.reviewer: "pehecke"
7-
4+
ms.date: 04/06/2022
5+
author: NHelgren
6+
ms.author: nhelgren
7+
ms.reviewer: pehecke
8+
manager: sunilg
89
ms.topic: sample
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
1210
search.audienceType:
1311
- developer
1412
search.app:
1513
- PowerApps
1614
- D365CE
15+
contributors:
16+
- JimDaly
17+
- phecke
1718
---
1819

1920
# Work with columns definitions

powerapps-docs/developer/data-platform/org-service/samples/work-with-option-sets.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
---
22
title: "Sample: Work with choices (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This sample shows how to work with choices" # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.custom: ""
5-
ms.date: 10/31/2018
6-
ms.reviewer: "pehecke"
7-
4+
ms.date: 04/06/2022
5+
author: NHelgren
6+
ms.author: nhelgren
7+
ms.reviewer: pehecke
8+
manager: sunilg
89
ms.topic: sample
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
1210
search.audienceType:
1311
- developer
1412
search.app:
1513
- PowerApps
1614
- D365CE
15+
contributors:
16+
- JimDaly
17+
- phecke
1718
---
1819

1920
# Work with choices
2021

2122

22-
2323
This sample shows how to work with choices. Typically, you use choices to set columns so that different columns can share the same set of options, which are maintained in one ___location. Unlike local options sets which are defined only for a specific column, you can reuse choices. You will also see them used in request parameters in a manner similar to an enumeration.
2424

2525
When you define a choices column by using [CreateOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.createoptionsetrequest?view=dynamics-general-ce-9), we recommend that you let the system assign a value. You do this by passing a null value when you create the new `OptionMetadata` instance. When you define an option, it will contain an option value prefix specific to the context of the publisher set for the solution that the choices column is created in. This prefix helps reduce the chance of creating duplicate choices for a managed solution, and in any choices column that are defined in organizations where your managed solution is installed. For more information, see [Merge choices values](/power-platform/alm/how-managed-solutions-merged#merge-option-set-options).
2626

2727
Use the following message request classes to work with choices:
2828

29-
- [CreateOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.createoptionsetrequest?view=dynamics-general-ce-9)
30-
- [DeleteOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.deleteoptionsetrequest?view=dynamics-general-ce-9)
31-
- [RetrieveAllOptionSetsRequest](/dotnet/api/microsoft.xrm.sdk.messages.retrievealloptionsetsrequest?view=dynamics-general-ce-9)
32-
- [RetrieveOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.retrieveoptionsetrequest?view=dynamics-general-ce-9)
33-
- [UpdateOptionSetRequest](/dotnet/api/microsoft.xrm.sdk.messages.updateoptionsetrequest?view=dynamics-general-ce-9)
29+
- <xref:Microsoft.Xrm.Sdk.Messages.CreateOptionSetRequest>
30+
- <xref:Microsoft.Xrm.Sdk.Messages.DeleteOptionSetRequest>
31+
- <xref:Microsoft.Xrm.Sdk.Messages.RetrieveAllOptionSetsRequest>
32+
- <xref:Microsoft.Xrm.Sdk.Messages.RetrieveOptionSetRequest>
33+
- <xref:Microsoft.Xrm.Sdk.Messages.UpdateOptionSetRequest>
3434

3535
Use the following message request classes with choices:
3636

37-
- [DeleteOptionValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.deleteoptionvaluerequest?view=dynamics-general-ce-9)
38-
- [InsertOptionValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.insertoptionvaluerequest?view=dynamics-general-ce-9)
39-
- [InsertStatusValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.insertstatusvaluerequest?view=dynamics-general-ce-9)
40-
- [OrderOptionRequest](/dotnet/api/microsoft.xrm.sdk.messages.orderoptionrequest?view=dynamics-general-ce-9)
41-
- [UpdateOptionValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.updateoptionvaluerequest?view=dynamics-general-ce-9)
42-
- [UpdateStateValueRequest](/dotnet/api/microsoft.xrm.sdk.messages.updatestatevaluerequest?view=dynamics-general-ce-9)
37+
- <xref:Microsoft.Xrm.Sdk.Messages.DeleteOptionValueRequest>
38+
- <xref:Microsoft.Xrm.Sdk.Messages.InsertOptionValueRequest>
39+
- <xref:Microsoft.Xrm.Sdk.Messages.InsertStatusValueRequest>
40+
- <xref:Microsoft.Xrm.Sdk.Messages.OrderOptionRequest>
41+
- <xref:Microsoft.Xrm.Sdk.Messages.UpdateOptionValueRequest>
42+
- <xref:Microsoft.Xrm.Sdk.Messages.UpdateStateValueRequest>
4343

4444
You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/WorkWithOptionSets).
4545

powerapps-docs/developer/data-platform/org-service/samples/work-with-views.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
---
22
title: "Sample: Work with views (Microsoft Dataverse) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "This sample shows how to work with views" # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.custom: ""
5-
ms.date: 10/31/2018
6-
ms.reviewer: "pehecke"
7-
4+
author: caburk
5+
ms.author: caburk
6+
manager: evlew
7+
ms.date: 04/06/2022
8+
ms.reviewer: jdaly
89
ms.topic: sample
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
1210
search.audienceType:
1311
- developer
1412
search.app:
1513
- PowerApps
1614
- D365CE
15+
contributors:
16+
- JimDaly
1717
---
1818

19-
# Work with views
20-
19+
# Sample: Work with views
2120

2221

2322
This sample shows how to perform various actions on views.

0 commit comments

Comments
 (0)