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.
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

Mudbox is a software for 3D sculpting and painting which dckegfkakebb
LikeLike
Nice one..
I have one issue in this plugin registration. My requirement is to throw an exception if some conditions are not met before distributing Campaign Activity. But when the exception thrown from plugin, in UI it showing some generic error message(An error has occurred. Please contact Microsoft Dynamics CRM……), not the custom message from plugin. How to handle this situation?
LikeLike