Microsoft Dynamics 365 & PowerApps Developer - Plugins in the Microsoft Dynamics 365

 Plugins:

➤ The plugin is a class library with custom code which we compile and generate DLL files that run on server events.

Service Events are like Create, Update, Delete, etc of specific record types.

➤ In the Dynamics terminology, we can say that Event is a Message.

Example:

On entering the revenue field of the contact record you want to perform some tax-related complex calculations automatically.

The flow of plugin build:

➤ Write custom code as plugin ➔ Build the Custom code and generate DLL ➔ Upload DLL files to Microsoft cloud ➔ Register them on some specific events.

Plugin Pipeline Stages:






➤ Pre-Validation:

In this stage, security checks are being performed to verify the calling and logged-on user has the correct permissions to perform the intended operation.

➤ Pre-Operation:

This will execute before the main operation. plugin registered in this stage is executed within the database operation.

➤  Main Operation:

This contains the main operations like CREATE, UPDATE, DELETE and so on, no custom plugin can be registered at this stage.

➤ Post Operation:

Plugins that are executed after the main operation. Plugins registered in this stage are executed within the database operation.



Comments

Popular posts from this blog

Microsoft Dynamics 365 & PowerApps Developer - Plugin Development and Deployment using Plugin Registration Tool in the Microsoft Dynamics 365

How to create and manage Environment in Microsoft Dynamics 365 CRM?