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 365 | Integration, Dataverse...
Unanswered

Dynamics CRM Hierarchy query in Canvas App

(0) ShareShare
ReportReport
Posted on by 8

Hi

 

I have a query that I cannot seem to work out how to do it.

I am building a canvas app that will sit on a tab on the Account form in Dynamics CRM.

 

It uses ModelDrivenFormIntegration to provide the context to the Canvas App

 

I have account hierarchy structure setup as follows:

Doon1976_0-1628528461070.png

In the canvas app, When I am in the context of one of these records, I want to display ALL CONTACTS that belong to that organisation, AND ALL other organisations below.

 

Example, If I am on Account A, I need to see all contacts for ALL organisations in the hierarchy.  If I am on Account C, I need to see all contacts for organisations C, F & G in the hierarchy etc etc

 

The number of levels to a hierarchy is not static it could in time increase or decrease

 

I can do this using fetchXML, but how can I do this in a canvas app?

 

Thanks

I have the same question (0)

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 176

#2
ManoVerse Profile Picture

ManoVerse 56 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans