On a recent project, we need to provide counts for the number of ‘targets’ for campaign. The theory in principle is simple, using plugin get all the target marketing list of a campaign and count the number of their members. For simplicity sake, only ‘static’ list is part of it. But of course the plugin must attach to an event.
First thought that comes to mind was
Associate message. And it’s wrong!!!
Turns out, if you want to add another campaign, list, product or salesliterature to a campaign, you have to use
AddItemCampaignRequest. And the corresponding message for plugin is, you guessed it
RemoveItemCampaignRequest and the corresponding message for plugin is