Copy Marketing Lists in Microsoft CRM With C#

There is a pretty neat method to copy marketing lists in Microsoft CRM without retrieving every member and adding to the new list. All you have to do is creating a CopyMembersListRequest and set the two required properties SourceListId with the old list Id and the TargetListId with the new list id.  And of course, the new list …

Copy Marketing Lists in Microsoft CRM With C# Read More »

Retrieve Entity Record with Retrieve Request and ColumnSet In MS CRM With C#

Often it is necessary to retrieve an entity or a specific column of an entity with an organization service execute request (retrieve request). With this Request you’ll retrieve the actual database value of that entity record. But you also have to know the actual Id of that record. With the ColumnSet you can definde which …

Retrieve Entity Record with Retrieve Request and ColumnSet In MS CRM With C# Read More »

Querying all Marketing Lists associated To An Campaign In Microsoft CRM With C#

As I said in the other article, there are some exceptions from the usual many-to-many architecture – one of those exceptions are querying all marketing lists associated to an campaign In Microsoft CRM. In this case you have to join with the CampaignItem table and check if the Logical Name of the entites matches. If so, …

Querying all Marketing Lists associated To An Campaign In Microsoft CRM With C# Read More »

Querying Many-To-Many Relationship in MS CRM with C#

I recently ran into a use case where I had to query a many-to-many realationship in an Microsoft CRM environment. Well, it’s always not that easy as it maybe seems on the first view. After a couple time researching and trying around I found a solution which I’ll share with you right here :-). All …

Querying Many-To-Many Relationship in MS CRM with C# Read More »

Associate MS CRM Records With Many-To-Many Relationship With C#

To associate Microsoft CRM Data Records with an many-to-many relationship you have to use the AssociateRequest, but keep in mind that some entities have special request – you’ll find them on the MSDN. For all standard entites you can use the example shown below. The RelatedEntities property must be filled with a EntityReferenceCollection. That means that …

Associate MS CRM Records With Many-To-Many Relationship With C# Read More »