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
Copy file name to clipboardExpand all lines: powerapps-docs/developer/common-data-service/virtual-entities/custom-ve-data-providers.md
+9-16Lines changed: 9 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Custom virtual entity data providers (Common Data Service) | Microsoft Docs"
3
3
description: "Using the Common Data Service Data SDK, .NET Developers have the option of creating custom virtual entity data providers to help integrate external data source types that are not supported by an existing data provider."
4
-
ms.date: 10/31/2018
4
+
ms.date: 09/05/2019
5
5
ms.service: powerapps
6
6
ms.topic: "article"
7
7
applies_to:
@@ -30,19 +30,12 @@ Using the Common Data Service Data SDK, .NET Developers have the option of creat
30
30
Custom data providers require substantial development resources to create and maintain. You must have fundamental knowledge of the following areas:
31
31
32
32
- The external data source schema and associated data access techniques. This ___domain knowledge is specific to the external data source type.
33
-
34
-
35
-
<!-- TODO:
36
-
- Common Data Service metadata schema: More information: [The metadata and data models in Microsoft Dynamics 365](../metadata-data-models.md).
37
-
- Common Data Service event system: More information: [Introduction to the event framework](../introduction-event-framework.md).
38
-
- Common Data Service plug-in architecture and development: More information: [Plug-in development](../plugin-development.md). -->
33
+
- Common Data Service metadata schema: More information: [Work with metadata using code](../metadata-services.md).
34
+
- Common Data Service event framework: More information: [Event Framework](../event-framework.md).
35
+
- Common Data Service plug-in architecture and development: More information: [Use plug-ins to extend business processes](../plug-ins.md).
39
36
40
37
The `Microsoft.Xrm.Sdk.Data.dll` assembly is available as a NuGet package: [Microsoft.CrmSdk.Data](https://www.nuget.org/packages/Microsoft.CrmSdk.Data/)
41
38
42
-
<!-- ## Data Provider Architecture -->
43
-
<!-- TODO: it would be nice to have a more detailed architecture diagram of a data provider and add discussion. -->
44
-
45
-
46
39
## Categories of providers
47
40
48
41
There are two general categories of data provider you can create using the virtual entity data SDK assemblies: generic or targeted. The table below describes these approaches and matches them to the data provider development model best suited for that approach.
@@ -96,11 +89,6 @@ If for any reason your code cannot achieve the expected result, you must throw t
96
89
|<xref:Microsoft.Xrm.Sdk.Data.Exceptions.ObjectNotFoundException>|The specified record in the external data source does not exist.|
97
90
|<xref:Microsoft.Xrm.Sdk.Data.Exceptions.TimeoutException>|The external operation did not complete within the allowed time; for example, the result of a HTTP status 408 from the external data service.|
98
91
99
-
<!--
100
-
TODO:
101
-
To assist you in plug-in development, the Data SDK contains the _Plugin Profiler and Debugger_; for more information see [TBD]TODO: Obtain information on this tool, create subtopic.
102
-
-->
103
-
104
92
105
93
### Plug-in registration
106
94
@@ -114,6 +102,11 @@ Unlike an ordinary plugin, you will only use the Plugin Registration Tool (PRT)
114
102
115
103
When the metadata for your virtual entity is configured, your plugins are registered using the PRT and the correct configuration data is set in the **EntityDataProvider** and **EntityDataSource** entities, your virtual entity will start to respond to requests.
116
104
105
+
### Debugging plug-ins
106
+
107
+
A custom virtual entity provider is a type of plug-in. Use the information in these topics to debug plug-ins for custom virtual entity providers: [Debug Plug-ins](../debug-plug-in.md) and [Tutorial: Debug a plug-in](../tutorial-debug-plug-in.md).
108
+
109
+
117
110
### See also
118
111
119
112
[Get started with virtual entities](get-started-ve.md)<br />
0 commit comments