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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Online - Field to count marketing list number of members, for static and dynamic list, with more than 50000 members

(0) ShareShare
ReportReport
Posted on by

Hello all,

I have to create a field on marketing list to count the number of members. This field needs to count the members for both types of marketing list : static and dynamic. A marketing list can contain more than 50 000 members. 

How can i do that? 

I was recommended to use fetchxml with javascript, or create a workflow, but i don't know how to do this.

Thank you!

*This post is locked for comments

I have the same question (0)
  • ScottDurow Profile Picture
    21 on at

    There is already a Member Count field for Static lists. For dynamic lists it is harder. You can't use a rollup field and so you'd need to get a developer to write a workflow activity that can total the number of members on a scheduled basis. This is not a simple task!

  • Suggested answer
    Community Member Profile Picture
    on at

    Dynamic list stores the FetchXML to retrieve the list of members at the time of use. You can write a workflow activity/plugin to get the fetchXML and use it to count the number of members. Run that workflow on demand to get the latest count.

  • Inogic Profile Picture
    709 on at

    For dynamic Marketing list you have to retrieve query (query attribute for marketing List) for the marketing List. Later you can execute retrieved query to find members for the marketing List you can use field Members Count from Marketing List to get static members count.

    Fetch XML to retrieve query attribute for marketing list is as below.

    c7.jpg

    Thanks,

    Sam

  • M.V Profile Picture
    35 on at

    Hi Vikas,

    could you please provide the steps of creating a workflow in order to retrieve the FetchXML showing the number of members within dynamic Marketing Lists.

  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at

    Hi,

    Query expression will be easy to use for list member retrieval.

    see some help links,

    community.dynamics.com/.../retrieve-marketing-list-members

    community.dynamics.com/.../learning-how-to-query-for-marketing-list-members

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans