Michael Philip's Blog

Writing about MS Tech with strong focus on Azure & CRM

How To : Retrieve the Marketing Lists Count Associated With Specific Campaign Activity in Microsoft Dynamics CRM 2011 Using JavaScript

Leave a comment

Hi, in this article am gonna show how to retrieve Marketing Lists count associated with certain Campain Activity  in CRM 2011 Using JavaScript.


var command = new RemoteCommand(“MarketingAutomation”,”GetTargetListAssociated”);
var campaignActivityId = “xxxxx”;  // your campaign Activity ID
command.SetParameter(“campaignActivityId”, campaignActivityId);
var result = command.Execute();
var Marketinglistscount = result.ReturnValue;


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 )

Google+ photo

You are commenting using your Google+ 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