Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we write an event / function on "Publish" or "Publish All Customizations" button in MS CRM

Actually i want to execute a functionality every time a developer publishes customizations. Hence, can we write any custom logic on click of "Publish entity" or "Publish All Customizations" buttons. OOB or un supported way either?

Its not a business requirement, its more of a streamlining code development process in the team.

like image 569
WeShall.NET Avatar asked Dec 15 '22 03:12

WeShall.NET


1 Answers

This is an example which explains how to create a plugin for the Publish/PublishAll events. I created it for a very similar question so I'm sure that you will find it helpful.

You can download the plugin project and CRM solution that I used for that example from my GitHub.

like image 119
Federico Jousset Avatar answered Dec 31 '22 13:12

Federico Jousset