Michael Philip's Blog

Writing about MS Tech with strong focus on Azure & CRM

Trigger plugin on Action Execution in Dynamics CRM

Leave a comment

Hi ,

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

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);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s