Plug-in development

Applies to Dynamics 365 (online), version 9.x

A plug-in is custom business logic (code) that you can integrate with Dynamics 365 (online) Customer Engagement to modify or augment the standard behavior of the platform. Another way to think about plug-ins is that they are handlers for events fired by Dynamics 365. You can subscribe, or register, a plug-in to a known set of events to have your code run when the event occurs.

For more information about plug-in run-time execution, see Event Execution Pipeline.

In This Section

Write a Plug-in

Understand the Data Context Passed to a Plug-in

Handle Exceptions in Plug-ins

Passing Data Between Plug-ins

Impersonation in Plug-ins

Register and Deploy Plug-ins

Debug a Plug-in

Analyze Plug-in Performance

Walkthrough: Register a Plug-in using the Plug-in Registration Tool

Walkthrough: Configure Assembly Security for an Offline Plug-in

Sample: Basic Plug-in

Sample: Web Access from a Sandboxed Plug-in

Write Plug-Ins to Extend Business Processes

Event Execution Pipeline

Web Service Authentication and Impersonation