Retrieve related records for a parent record
It’s possible to get related records of a relationship when we retrieve a parent record using RelatedEntitiesQuery property in the RetrieveRequest. That means you have to construct the RetrieveRequest not using the Retrieve method from the OrganizationServiceProxy class.
by Khoa Nguyen
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

One thought on “Retrieve primary entities along with related entities with one QueryExpression”