You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Information under this topic and its sub-topics is also applicable to the Dynamics 365 for Customer Engagement apps (online) users because the Customer Engagement apps are built on the Common Data Service platform. If you are Dynamics 365 for Customer Engagement apps (on-premises) user, see the documentation applicable for the on-premises functionality in the Customer Engagement documentation at:
Information in this topic is also applicable to the Dynamics 365 for Customer Engagement apps (online) users because the Customer Engagement apps are built on the Common Data Service platform. If you are Dynamics 365 for Customer Engagement apps (on-premises) user, see the documentation applicable for the on-premises functionality in the Customer Engagement documentation at
Copy file name to clipboardExpand all lines: powerapps-docs/developer/common-data-service/xrm-tooling/build-windows-client-applications-xrm-tools.md
+12-16Lines changed: 12 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Build Windows client applications using the XRM tools (Common Data Service)| Microsoft Docs"
3
3
description: "XRM tooling is a set of APIs that provides support for building Windows client applications for Common Data Service"
4
4
ms.custom: ""
5
-
ms.date: 10/31/2018
5
+
ms.date: 03/27/2019
6
6
ms.reviewer: ""
7
7
ms.service: powerapps
8
8
ms.suite: ""
@@ -13,7 +13,7 @@ applies_to:
13
13
ms.assetid: e2f22576-1705-4854-a804-a1ca232c0cfc
14
14
caps.latest.revision: 33
15
15
author: "MattB-msft"
16
-
ms.author: "kvivek"
16
+
ms.author: "nabuthuk"
17
17
manager: "kvivek"
18
18
search.audienceType:
19
19
- developer
@@ -25,13 +25,16 @@ search.app:
25
25
26
26
XRM tooling is a set of APIs built on top of the Common Data Service assembly APIs (Organization service and Discovery service) that provide support for building Windows client applications for Common Data Service. It provides the following capabilities:
27
27
28
-
- Supports all the authentication modes to sign in to Common Data Service.
29
-
- Provides PowerShell support for authentication and connection to Common Data Service.
28
+
- Supports all the authentication modes to sign in to Common Data Service instance.
29
+
- Provides PowerShell support for authentication and connection to Common Data Service instance.
30
30
- Provides thread safety for actions performed in Common Data Service in a multithreaded environment. More information [Multithreading in Components](https://msdn.microsoft.com/library/vstudio/3es4b6yy.aspx), [Thread-Safe Components](https://msdn.microsoft.com/library/vstudio/a8544e2s.aspx)
31
31
- Provides a common Windows Presentation Foundation login control for Common Data Service for consistent sign-in experience to Common Data Service from your Windows client applications.
32
32
- Supports secure storage of the sign-in credentials and reuse of the stored credentials to automatically sign in to Common Data Service after initial sign in.
33
33
- Provides built-in diagnostic tracing and performance reporting of the actions performed in Common Data Service, which you can configure based on your organization’s requirements.
34
-
34
+
35
+
> [!NOTE]
36
+
> [!INCLUDE[cc-d365ce-note-section](../includes/cc-d365ce-note-section.md)][Build Windows client applications using the XRM tools (Customer Engagement)](/dynamics365/customer-engagement/developer/build-windows-client-applications-xrm-tools)
37
+
35
38
## Components of XRM tooling
36
39
37
40
XRM tooling has the following three components:
@@ -48,19 +51,12 @@ The following applications in the current version of Common Data Service use the
48
51
49
52
- Unified Service Desk. More information: [Extend Unified Service Desk](/dynamics365/customer-engagement/unified-service-desk/extend-unified-service-desk)
50
53
51
-
<!-- TODO: fix links when files added to admin guide
54
+
<!--Package Deployer tool. More information: [Deploy packages using Package Deployer and Windows PowerShell](../../administrator/deploy-packages-using-package-deployer-windows-powershell.md)-->
52
55
53
-
- Package Deployer tool. More information: [Deploy packages using Dynamics 365 Package Deployer and Windows PowerShell](../../administrator/deploy-packages-using-package-deployer-windows-powershell.md)
54
-
55
-
- Configuration Migration tool. More information [Manage your configuration data](../../administrator/manage-configuration-data.md)
56
-
57
-
-->
56
+
<!--Configuration Migration tool. More information [Manage your configuration data](../../administrator/manage-configuration-data.md)-->
58
57
59
58
### See also
60
59
61
60
[Sample: Quick start for XRM Tooling API](sample-quick-start-xrm-tooling-api.md)<br />
62
-
<!-- TODO:
63
-
[Use the Common Data Service Organization service](use-microsoft-dynamics-365-organization-service.md)<br />
64
-
[Discover the URL for Your Organization With IDiscoveryService Web Service](org-service/discover-url-organization-organization-service.md)<br />
65
-
[Write Applications and Server Extensions](extend-dynamics-365-server.md)<br /> -->
66
-
[Blog: PowerShell module for performing data operations and manipulating user and system settings in CRM](http://blogs.msdn.com/b/crm/archive/2015/09/25/powershell-module-for-performing-data-operations-and-manipulating-user-and-system-settings-in-crm.aspx)
61
+
[Blog: PowerShell module for performing data operations and manipulating user and system settings in Common Data Service](http://blogs.msdn.com/b/crm/archive/2015/09/25/powershell-module-for-performing-data-operations-and-manipulating-user-and-system-settings-in-crm.aspx)
Copy file name to clipboardExpand all lines: powerapps-docs/developer/common-data-service/xrm-tooling/configure-tracing-xrm-tooling.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Configure tracing for XRM tooling (Common Data Service)| Microsoft Docs"
3
3
description: "Learn how you can configure tracing for components such as operation calls, warnings, exceptions, and other significant events in XRM Tooling"
4
4
ms.custom: ""
5
-
ms.date: 10/31/2018
5
+
ms.date: 03/27/2019
6
6
ms.reviewer: ""
7
7
ms.service: powerapps
8
8
ms.suite: ""
@@ -13,7 +13,7 @@ applies_to:
13
13
ms.assetid: d7586a5a-40da-427e-bbeb-4f8a371a8dcf
14
14
caps.latest.revision: 8
15
15
author: "MattB-msft"
16
-
ms.author: "kvivek"
16
+
ms.author: "nabuthuk"
17
17
manager: "kvivek"
18
18
search.audienceType:
19
19
- developer
@@ -28,8 +28,7 @@ You can enable tracing to record data related to process milestones across all c
28
28
- A trace source
29
29
- A trace listener
30
30
- A trace level other than **Off**. These are the other values that you can specify: **Error**, **Warning**, **Info**, and **Verbose**.
31
-
32
-
Here is the configuration for enabling tracing for a component in XRM tooling. For example, the following configuration only enables tracing for the Microsoft.Xrm.Tooling.CrmConnectControl component:
31
+
Here is the configuration for enabling tracing for a component in XRM tooling. For example, the following configuration only enables tracing for the Microsoft.Xrm.Tooling.CrmConnectControl component:
Copy file name to clipboardExpand all lines: powerapps-docs/developer/common-data-service/xrm-tooling/sample-quick-start-xrm-tooling-api.md
+8-218Lines changed: 8 additions & 218 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Sample: Quick start for XRM Tooling API (Common Data Service)| Microsoft Docs"
3
3
description: ""
4
4
ms.custom: ""
5
-
ms.date: 10/31/2018
5
+
ms.date: 03/27/2019
6
6
ms.reviewer: ""
7
7
ms.service: powerapps
8
8
ms.suite: ""
@@ -13,7 +13,7 @@ applies_to:
13
13
ms.assetid: 060d45bb-b7fd-48bd-ab8f-629c1b8bc1dc
14
14
caps.latest.revision: 20
15
15
author: "MattB-msft"
16
-
ms.author: "kvivek"
16
+
ms.author: "nabuthuk"
17
17
manager: "kvivek"
18
18
search.audienceType:
19
19
- developer
@@ -25,15 +25,14 @@ search.app:
25
25
26
26
The QuickStart sample is a .NET Framework managed code sample that shows how to connect to a Common Data Service instance by using the XRM Tooling APIs, and perform basic create, update, retrieve, and delete operations on an entity. For more information about XRM Tooling, see [Build windows client applications using the XRM tools](build-windows-client-applications-xrm-tools.md).
27
27
28
-
Download the sample: [Work with XRM Tooling API](https://code.msdn.microsoft.com/XRM-Tooling-Sample-24a5c55c)
28
+
Download the sample: [Work with XRM Tooling API](https://github.com/Microsoft/PowerApps-Samples/tree/master/cds/Xrm%20Tooling/Quick%20start%20for%20XRM%20Tooling)
1. Download and extract the sample from [here](https://github.com/Microsoft/PowerApps-Samples/tree/master/cds/Xrm%20Tooling/Quick%20start%20for%20XRM%20Tooling).
33
+
1. Open the `Quick start for XRM Tooling\C#\QuickStartXRMToolingWPFClient.sln` file in Visual Studio.
34
+
1. Press **F5** to compile and run the program.
35
35
36
-
You must have access to a Common Data Service environment.
37
36
38
37
## Demonstrates
39
38
@@ -45,217 +44,8 @@ You must have access to a Common Data Service environment.
45
44
- Login_ErrorLog.log: To report sign-in errors. This file is available at `C:\Users\`*`<username>`*`\AppData\Roaming\Microsoft\QuickStartXRMToolingWPFClient`.
46
45
- QuickStartXRMToolingWPFClient.log: To report operational errors. This file is available at the same ___location as the executable, that is in the debug folder of your Visual Studio project.
47
46
48
-
## To run the sample
49
-
50
-
1. Download and extract the sample.
51
-
1. Open the `Quick start for XRM Tooling\C#\QuickStartXRMToolingWPFClient.sln` file in Visual Studio.
52
-
2. Press **F5** to compile and run the program.
53
-
54
-
## Example
55
-
56
-
```csharp
57
-
usingSystem;
58
-
usingSystem.Collections.Generic;
59
-
usingSystem.Linq;
60
-
usingSystem.Text;
61
-
usingSystem.Threading.Tasks;
62
-
usingSystem.Windows;
63
-
usingSystem.Windows.Controls;
64
-
usingSystem.Windows.Data;
65
-
usingSystem.Windows.Documents;
66
-
usingSystem.Windows.Input;
67
-
usingSystem.Windows.Media;
68
-
usingSystem.Windows.Media.Imaging;
69
-
usingSystem.Windows.Navigation;
70
-
usingSystem.Windows.Shapes;
71
-
72
-
// This namespace is automatically added for using
73
-
// components in LoginWindow\CrmLogin.xaml (common login control).
74
-
usingQuickStartXRMToolingWPFClient.LoginWindow;
75
-
76
-
// Add this namespace for performing
77
-
// various operations in CRM.
78
-
usingMicrosoft.Xrm.Tooling.Connector;
79
-
80
-
namespaceQuickStartXRMToolingWPFClient
81
-
{
82
-
/// <summary>
83
-
/// Demonstrates how to do basic entity operations like create, retrieve,
84
-
/// update, and delete using the XRM Tooling APIs and the common login
85
-
/// control.</summary>
86
-
/// <remarks>
87
-
/// At run-time, you will be given the option to delete all the
88
-
/// database records created by this program.</remarks>
89
-
publicpartialclassMainWindow : Window
90
-
{
91
-
publicMainWindow()
92
-
{
93
-
InitializeComponent();
94
-
btnDelete.Visibility=Visibility.Hidden;
95
-
}
96
-
97
-
#regionClass Level Members
98
-
99
-
privateCrmLogin_ctrl=null;
100
-
privateGuid_accountId;
101
-
102
-
#endregion Class Level Members
103
-
104
-
#regionHow To Sample Code
105
-
106
-
/// <summary>
107
-
/// Connect to Microsoft CRM, and get an instance of CRMServiceClient
0 commit comments