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)

Is it possible to use generic FetchXML to return grandparent data?

(0) ShareShare
ReportReport
Posted on by 95

My plugin solution requires that any form can contain webresources that needs access to grandparent data. My mechanism already has a way of configuring/defining the relationship (which I may need to extend, granted).

Take this example, I find a Contact and Add a child custom entity. I have the GUID in queryString._CreateFromId and now I need to access data on the Account record and can define this(e.g.) Parent/Grandparent/Field, e.g. Contact/Account/fieldName.

I accept that there may need to be some additional configurability and there may well be some constraints but is there any way that I can use a generic FetchXML that will take the parent guid and entity names as parameters, lookup the grandparent and operate across any entities and relationship types?

*This post is locked for comments

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

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)

#1
RichardM Profile Picture

RichardM 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans