Skip to content

Commit c048a33

Browse files
authored
Merge pull request #1231 from MicrosoftDocs/pehecke-plugin
Migration of plug-in content from CE to CDS
2 parents 35db2eb + e6438e0 commit c048a33

32 files changed

+593
-210
lines changed

powerapps-docs/developer/common-data-service/TOC.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
- name: Event Framework
6767
href: event-framework.md
6868
items:
69+
- name: Understand the execution context
70+
href: understand-the-data-context.md
6971
- name: Behavior of specialized update operations
7072
href: special-update-operation-behavior.md
7173
- name: Asynchronous service
@@ -75,10 +77,20 @@
7577
items:
7678
- name: Write a plug-in
7779
href: write-plug-in.md
80+
- name: Handle exceptions
81+
href: handle-exceptions.md
82+
- name: Inpersonate a user
83+
href: impersonate-a-user.md
7884
- name: Register a plug-in
7985
href: register-plug-in.md
8086
- name: Debug a plug-in
8187
href: debug-plug-in.md
88+
- name: Tracing and logging
89+
href: logging-tracing.md
90+
- name: Analyze performance
91+
href: analyze-performance.md
92+
- name: Access external web resources
93+
href: access-web-services.md
8294
- name: Tutorials
8395
items:
8496
- name: Write and register a plug-in
@@ -87,6 +99,12 @@
8799
href: tutorial-debug-plug-in.md
88100
- name: Update a plug-in
89101
href: tutorial-update-plug-in.md
102+
- name: Sample code
103+
items:
104+
- name: "Create a basic plug-in"
105+
href: org-service/samples/basic-followup-plugin.md
106+
- name: "Web access from a plug-in"
107+
href: org-service/samples/web-access-plugin.md
90108
- name: Workflow extensions
91109
href: workflow/workflow-extensions.md
92110
- name: Scalable customization design
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: "Access external web resources (Common Data Service for Apps) | MicrosoftDocs"
3+
description: "Learn how to access a web resource, for example a web service, from a custom plug-in or workflow activity."
4+
ms.custom: ""
5+
ms.date: 2/6/2019
6+
ms.reviewer: ""
7+
ms.service: "powerapps"
8+
ms.topic: "article"
9+
author: "phecke"
10+
ms.author: "pehecke"
11+
manager: "kvivek"
12+
search.audienceType:
13+
- developer
14+
search.app:
15+
- PowerApps
16+
- D365CE
17+
---
18+
# Access external web resources
19+
20+
Plug-ins and custom workflow activities executing in the sandbox can access the network through the HTTP and HTTPS protocols. This capability provides support for accessing popular web resources like social sites, news feeds, web services, and more. The following web access restrictions apply to this sandbox capability.
21+
22+
- Only the HTTP and HTTPS protocols are allowed.
23+
- Access to localhost (loopback) is not permitted.
24+
- IP addresses cannot be used. You must use a named web address that requires DNS name resolution.
25+
- Anonymous authentication is supported and recommended. There is no provision for prompting the logged on user for credentials or saving those credentials.
26+
-
27+
Other methods of accessing web resources include the use of webhooks and the [!INCLUDE [pn_azure_service_bus](../../includes/pn_azure_service_bus.md)]. Refer to the links provided below for more information on those topics.
28+
29+
## See also
30+
31+
[Plug-ins](plug-ins.md)<br />
32+
[Workflow extensions](workflow/workflow-extensions.md)<br />
33+
[Azure integration](azure-integration.md)<br />
34+
[Use Web Hooks](use-webhooks.md)<br />
35+
[Sample: Web Access from a Sandboxed Plug-in](org-service/samples/web-access-plugin.md)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: "Analyze plug-in performance (Common Data Service for Apps) | Microsoft Docs"
3+
description: "Learn how to find and analyze data about how your registered plug-ins are performing."
4+
ms.custom: ""
5+
ms.date: 1/29/2019
6+
ms.reviewer: ""
7+
ms.service: "powerapps"
8+
ms.topic: "article"
9+
author: "phecke"
10+
ms.author: "pehecke"
11+
manager: "kvivek"
12+
search.audienceType:
13+
- developer
14+
search.app:
15+
- PowerApps
16+
- D365CE
17+
---
18+
# Analyze plug-in performance
19+
20+
In addition to using a debugger and profiler to learn how your plug-in is performing at the code level, you can obtain metrics as to the overall performance of your registered plug-ins in an organization through [Common Data Service for Apps analytics](/power-platform/admin/analytics-common-data-service).
21+
22+
Through the [Plug-in](/power-platform/admin/analytics-common-data-service#plug-ins) dashboard you can view metrics such as average execution time, failures, most active plug-ins, and more.
23+
24+
![Analytics plug-in dashboard](media/cds-insights-plugins.png)
25+
26+
## See also
27+
28+
[Use plug-ins to extend business processes](plug-ins.md)
29+
[Tutorial: Debug a plug-in](tutorial-debug-plug-in.md)
30+
[Debug Plug-ins](debug-plug-in.md)

powerapps-docs/developer/common-data-service/apply-business-logic-with-code.md

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

2323
# Apply business logic using code
2424

25-
Whenever possible, you should first consider applying one of the several declarative process options to define or apply business logic. More information: [Apply business logic in CDS for Apps](../../maker/model-driven-apps/guide-staff-through-common-tasks-processes.md)
25+
Whenever possible, you should first consider applying one of the several declarative process options to define or apply business logic. More information: [Apply business logic in CDS for Apps](../../maker/common-data-service/cds-processes.md)
2626

2727
When a declarative process doesn’t meet a requirement, as a developer you have several options. This topic will introduce common options to write code.
2828

powerapps-docs/developer/common-data-service/best-practices/business-logic/set-keepalive-false-interacting-external-hosts-plugin.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ This behavior is transparent to end users and traditional logging as the executi
290290
### See also
291291

292292
[Sample: Web access from a sandboxed plug-in](../../org-service/samples/web-access-plugin.md)<br />
293-
[Plug-in isolation, trusts, and statistics](/dynamics365/customer-engagement/developer/plugin-isolation-trusts-statistics)<br />
294293
[Load Balancing (WCF)](https://msdn.microsoft.com/library/ms730128.aspx)<br />
295294
[HttpTransportBindingElement.KeepAliveEnabled Property](https://msdn.microsoft.com/library/system.servicemodel.channels.httptransportbindingelement.keepaliveenabled.aspx)<br />
296295
[HttpWebRequest.KeepAlive Property](https://msdn.microsoft.com/library/system.net.httpwebrequest.keepalive.aspx)<br />

powerapps-docs/developer/common-data-service/best-practices/business-logic/use-invalidpluginexecutionexception-plugin-workflow-activities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,5 @@ Unhandled exceptions of other types should only occur when unexpected errors are
156156

157157
### See also
158158

159-
[Cancelling an operation](../../write-plug-in.md#cancelling-an-operation)<br/>
159+
[Cancelling an operation](../../handle-exceptions.md#cancelling-an-operation)<br/>
160160
[Debug Workflow Activities](../../workflow/workflow-extensions.md#debug-workflow-activities)<br/>

powerapps-docs/developer/common-data-service/best-practices/business-logic/use-itracingservice-plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ Tracing is especially useful to troubleshoot registered custom code as it is the
8181

8282
### See also
8383

84-
[Debug a plug-In](/dynamics365/customer-engagement/developer/debug-plugin)<br />
85-
[Plug-in isolation, trusts, and statistics](/dynamics365/customer-engagement/developer/plugin-isolation-trusts-statistics)<br />
84+
[Write a plug-in](../../write-plug-in.md)
85+
[Tracing and logging](../../logging-tracing.md)

powerapps-docs/developer/common-data-service/browse-your-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ You can perform the following actions for a single entity:
9090

9191
[Developer Tools for CDS for Apps](developer-tools.md)<br />
9292
[Customize Entity Metadata](customize-entity-metadata.md)<br />
93-
[Analyze Plug-in Performance](/dynamics365/customer-engagement/developer/analyze-plugin-performance)<br />
93+

powerapps-docs/developer/common-data-service/calculated-rollup-attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ search.app:
6565
## Calculated attributes
6666
Calculated attributes are calculated in real-time when they are retrieved. Calculated attributes can be composed using different data types. For example, an Integer calculated attribute may reference values from Decimal or Currency attributes. More information: [Define calculated fields](https://technet.microsoft.com/library/dn832103.aspx).
6767

68-
Calculated attribute values are available in the retrieve plug-in pipeline. Post image of entity record update or create contains the calculated attribute value in stage 40. More information: [Event Execution Pipeline](/dynamics365/customer-engagement/developer/event-execution-pipeline)
68+
Calculated attribute values are available in the retrieve plug-in pipeline. Post image of entity record update or create contains the calculated attribute value in stage 40. More information: [Event execution pipeline](event-framework.md#event-execution-pipeline) and [Entity Images](understand-the-data-context.md#entity-images)
6969

7070
### Limitations
7171
You can’t use values in calculated attributes that reference a related entity, another calculated attribute, or a *logical value* in the same entity to sort data returned by a query. Although your query can specify that the results should be ordered using a calculated attribute, the sort direction will be ignored and will not throw an error. If the calculated attribute references only simple values in the same record, sorting works normally. You can determine the sources used in a calculated field using the `SourceTypeMask` property on the attribute metadata. More information: [Logical attributes](/dynamics365/customer-engagement/developer/introduction-to-entity-attributes.md#BKMK_LogicalAttributes)

powerapps-docs/developer/common-data-service/custom-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,6 @@ If one of the steps in the action’s real-time workflow is a custom workflow ac
148148
### See also
149149
[Create real-time workflows](/dynamics365/customer-engagement/developer/create-real-time-workflows)
150150
[Use dialogs for guided processes](/dynamics365/customer-engagement/developer/use-dialogs-guided-processes)
151-
[Event Execution Pipeline](/dynamics365/customer-engagement/developer/event-execution-pipeline)
151+
[Event execution pipeline](event-framework.md#event-execution-pipeline)
152152
[Write Workflows to Automate Business Processes](/dynamics365/customer-engagement/developer/automate-business-processes-customer-engagement)
153153
[Customize your system](https://technet.microsoft.com/library/dn531158.aspx)

0 commit comments

Comments
 (0)