Callbacks from MS Dynamics CRM to a web service

We are creating a system that is tightly integrated with the installation of CRM clients and should have a callback when the object is updated, created or deleted. This callback will ideally send the name and object identifier to the external service through an HTTP request request.

I have not found a single document on the Internet that will help - can someone point me in the right direction?

+4
source share
1 answer

You are looking for plugins: http://msdn.microsoft.com/en-us/library/dd393295.aspx .

You can register a plugin to create, update, delete, etc. object, and then run whatever custom code you want. You will definitely have access to the object name and identifier, as well as to the fields that have been updated, information about the user who initiated the call, etc.

Just know that in MSCRM 3.0 and 4.0 plugins work outside the real database transaction, so it is possible that the event can fire in CRM, but the plugin does not work and the event still passes. In MSCRM 2011, they are triggered within a transaction and can stop the CRM event, if necessary.

+5
source

Source: https://habr.com/ru/post/1340156/


All Articles