Announcements
No record found.
Hi,
I'm working on importing Marketing lists.
Is it possible de create via c# the dynamic List Members criteria ?
Thanks,
KR,Hicham
Hello,
You can create your lists using C#. In order to do that you will have to:
1. Populate "type" field with true value (that corresponds to Dynamic list).
2. Populate "query" field with the FetchXml query that describes your filtering. You can use "FetchXml" builder or "Advanced Find" to build the query you need and get the FetchXml.
Hi Andrew,
1 - I populate the field Type with the value "Dynamic".
I imported static lists with members but I also need to create dynamic Marketing Lists based on criteria that I want to create using the batch.
2 - How to populate the query ? I didn't find any documentation or article about this.
- Which entity to target ?
- Do you have a sample or a link ?
KR,
Search engines are your best friends ;) Here is what I found:
stackoverflow.com/.../creating-a-marketing-list-in-crm-dynamics-2013
mubashersharif.blogspot.com/.../create-dynamic-marketing-list-in-crm.html
I did some reseache but didn't come accross theses topics :\
Thanks, it works fine after populating the fields : type, createdfromcode and query.
I'm glad it solved your issue!
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Muhammad Shahzad Sh... 69 Most Valuable Professional
ManoVerse 55 Super User 2026 Season 1