Posts

Showing posts from December, 2016

Creating, Registering and Calling Custom Actions

Image
Actions are actually Custom messages defined for an entity. Following action is created for lead entity having input and out parameters. Custom Action Plugin C# code, using input parameter and output parameters. public   class   CustomQualify  :  IPlugin {      public   void  Execute( IServiceProvider  serviceProvider)     {         IPluginExecutionContext  context = ( IPluginExecutionContext )                       serviceProvider.GetService( typeof ( IPluginExecutionContext ));           IOrganizationServiceFactory  serviceFactory = ( IOrganizationServiceFactory )                     ...