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….
Continue Reading Nishant Rana’s Article on their blog
Retrieve primary entities along with related entities with one QueryExpression
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. https://dyncrmexp.com/2017/10/24/retrieve-primary-entities-along-with-related-entities-with-one-queryexpression/comment-page-1/ by Khoa Nguyen
Blog Syndicated with Nishant Rana’s Permission
More About This Author
Array
Dyn365CE6 December 2023Enable / Disable (turn on / turn off) multiple cloud flows – Dataverse
Dyn365CE4 December 2023Transitioning from Unmanaged to Managed Solution (Dynamics 365 / Dataverse)
Dyn365CE27 November 2023Failed deleting solution. Solution dependencies exist, cannot uninstall / Remove unmanaged layer– Dynamics 365 / Dataverse
Dyn365CE21 November 2023Enable classic editor for build/release pipelines in Azure DevOps