cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Scooter
Regular Visitor

Using the Expand Query in CDS List Records - Bug?

How's anyone been able to successfully use the Expand Query field on the List Records (CDS) where you need to connect from 2 levels below.

 

As an example - I'm wanting to connect from a child record to it's account, and then from that account connect to it's primary contact and pull back some attributes from that primary contact. I've been able to connect to the Account and pull the attributes, but as soon as you use the $expand= - this never ever works.

 

I've used XrmToolBox – FetchXML Builder – Power Automate Parameters – Expand Query (to even produce the parameters and I've pasted those into here and it doesn't work). I've double checked all syntax via Microsoft Documentation and it's definately looking like a bug.

 

Any assistance or help would be greatly appreciated.

1 REPLY 1
ManishJain
Solution Sage
Solution Sage

Hi @Scooter ,

 

Can you please share your odata query which you are getting. 

 

It should be like regardingobjectid_account($expand=primarycontactid($select=firstname)) in the expand part.

 

Thanks

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,715)