web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Marketing list and contacts

(0) ShareShare
ReportReport
Posted on by

Hi all, I am having a problem when I try to create a marketing list of contacts. 

Let me explain the scenario in detail:

I use the createRequest to create a marketing list, and then add some contacts to the marketing list. On the contact information page, there is a filed to display all the marketing lists that the contact belongs to (the listcontact_association is used)

Ideally, I should see the marketing list in the field on the contact's information page after I add the contact to the marketing list. 

However, this doesn't work.

One strange point: if I use the website page to create a marketing list, this works well. This problem only happens to the marketing list which is created by coding.

so what do I need to specify when I create a marketing list? I have already make sure that all the attributions of marketing lists created by webpage and by code are the same. 

Here is the code to create marketing list:

List marketingList = new List();
marketingList.ListName = "test";
marketingList.CreatedFromCode = new OptionSetValue(2);
marketingList.MemberType = 2;
Guid marketingListId = _serviceProxy.Create(marketingList as Entity);
return marketingListId;

*This post is locked for comments

I have the same question (0)
  • Mamatha Swamy Profile Picture
    5,426 on at

    You have to add contacts to the list as members. Check this

    msdn.microsoft.com/.../microsoft.crm.sdk.messages.addlistmemberslistrequest.aspx

  • Community Member Profile Picture
    on at

    Hello, I did. But it doesn't matter whether I add contacts to the list using code or through the add member button on marketing list. The problem is that the contact doesn't display the marketing list name in the field which represents the "listcontact_association" relationship. Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans