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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Fetch XML to bring back contacts for connections

(0) ShareShare
ReportReport
Posted on by 57

Looking to build a query to return contacts from a specific account AND the contacts of accounts connected to the first account through connections. Not even sure how to start this querying with the relationship joins. Any advice would be appreciated. 

Example:

Contact Susy Smith is a child of Account 1

Account 1 is connected to Account 2 and Account 3

Joe Jones is a child contact of Account 2

Art Vandelay is a child contact of Account 3.

The query should return contacts starting from Account 1 and display all three contacts. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    TrevorB Profile Picture
    105 on at

    Hi Nicole
    As I understand it, this is not possible using the Report Wizard. I posted on the forum looking for the same solution sometime back and after much frustration I finally managed to get a working report, however it does require building a custom report in VSTS.
    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/305347/report-to-show-contacts-that-belong-to-account-and-contacts-connected-to-account

    Good luck, hope this helps.
    Trevor.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans