Creating, Registering and Calling Custom Actions
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 ) ...