Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8602829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:10:58+00:00 2026-06-12T02:10:58+00:00

I’ve got my solution working with a serious drawback that it makes a lot

  • 0

I’ve got my solution working with a serious drawback that it makes a lot of smaller calls to the CRM. Instead, I’d like to make a single one (or at least only a few) and instead allow for redundancy.

I’d like to obtain information consisting of all the contacts that are on any marketing lists combined with the name of those lists. One can also view it as listing all the marketing lists and their members. In case a contact is represented in multiple marketing lists, I’d like it to be listed multiple times, once for each membership on a list.

In order to avoid redundancy, I asked another question here but it’s my understanding that it’s not possible. Perfect output data would be equivalent to this.

<allLists>
  <list name="hazaa">
    <contact name="Donald Duck" />
    <contact name="Speedy Gonzalez" />
  </list>
  <list name="shazoo">
    <contact name="Donald Duck" />
    <contact name="Kermit Frog" />
  </list>
<allLists>

Apparently, getting it via fetchXML is not as easy as one’d hope for so I’m retiring to acceptance of the following, redundant data set.

<contact name="Donald Duck" list="hazaa" />
<contact name="Speedy Gonzalez" list="hazaa" />
<contact name="Donald Duck" list="shazoo" />
<contact name="Kermit Frog" list="shazoo" />

Still, I don’t see how to get there. I’ve tried to use The FetchXML Wizard but an evil 404-error put that idea to a stop (and who knows, maybe it wouldn’t help anyway, haha). Suggestions?

I’m afraid that all I’ll get is a link to here, telling me to forget it. Is it really so?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:10:59+00:00Added an answer on June 12, 2026 at 2:10 am

    So first off, the last link Can you write a single FetchXML query to get 1:many relationship? doesn’t appear to have been answered correctly to me. I’ve added what I feel to be a correct answer.

    In terms of using the FetchXml wizard from stunnware it looks like the author is in between moving sites. You can still get tool however from this link: http://www.stunnware.com/products/tools4/download.htm (Google to the rescue).

    I would suggest using that, I believe it will help you make a lot of progress in creating the FetchXml.

    In terms of ‘data redundancy’ in the result sets, I don’t think you will be able to avoid this (or actually need to).

    Effectively you are running a sql query, a sql query with joins would also return ‘redundant data’ or repeated data. I think you will just need to accept thats how the data is returned and parse it into a format you require.

    So that said this moves me onto my second point, which is; have you considered Dynamic Lists?

    A marketing list in crm can be static or dynamic. Static is a simple case of one record being associated to another – easy to query. Dynamic is based upon a query (which is defined in the UI, which is actually FetchXml). My point here is I’m not sure if your FetchXml query will retrieve these dynamic members – (I suspect it wont, but I’m not sure, never tried myself).

    So, I don’t think FetchXml is the right solution for this problem, fortunately there are other options – which actually look a lot easier to implement in any case. I would suggest having a look at the links below to be sure you are implementing the correct solution.

    1. Retrieving Marketing List Members in CRM 2011 – The difference between static and dynamic
    2. Where are the List Members of a Dynamic Marketing List ? – Getting the dynamic members
    3. Retrieve Marketing List Members – Getting the static members
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.