Microsoft Articles

Two-way Azure Plugin Walkthrough

My first blog, so go gentle 😀

Summary:

When you’re calling external integration services and you’re using an enterprise service bus, you need to send a message with your CRM data to the service bus (obvs!). But in order to be able to use the built in behaviour of a crm plugin (rollback in particular) you’re going to need to run the plugin synchronously so that the user knows a problem has occurred. If you use the OOB plugin then it only works Asynchronously. Luckily service end points are baked into the CRM infrastructure, so we can get a leg up on passing remote execution context to a listener. That can then call the integration service and, should it fail, return a value to the plugin so it can respond accordingly.

The blog is a technical walkthrough of the steps to accomplish it. Enjoy!

https://dynamicsjourney.wordpress.com/2018/09/21/two-way-azure-plugin-walkthrough/

952

0

PhilK


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.