Trigger plugin on Action Execution in Dynamics CRM

Hi ,

I am going  to show in the following steps how to trigger plugin on Action execution in CRM

Steps

1) Create Action

CreateAction

2) Register plugin

RegisterPlugin

3) Call Action

The following code will show how to call the action using C#

OrganizationRequest callActionRequest = new OrganizationRequest("qdrn_setcustomervip");

callActionRequest["Target"] = new EntityReference("contact", {GUID});

OrganizationResponse callActionResponse = service.Execute(callActionRequest);

Leave a Reply

Your email address will not be published. Required fields are marked *