Writing a Plugin on “Distribute Campaign Activity” message in CRM.

Posted: June 7, 2012 in CRM 2011, Plugin
Tags:

Hi,

We recently had a requirement to execute a plugin  when a CampaignActivity is distributed using “Distribute Campaign Activity” button.

As it turned out, this message was not available.

As it was on premise, we enabled it in an unsupported manner i.e. by updating the sdkmessagefilterbase table in orgname_mscrm database.

SQL Query Used :-

update sdkmessagefilterbase

set isCustomProcessingStepAllowed=1

where

sdkmessageid=(select sdkmessageid from sdkmessagebase where name=‘DistributeCampaignActivity’)

and

primaryObjectTypecode=’4402′


Hope this helps.

Share your thoughts

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 )

Connecting to %s