cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Scooter
Advocate I
Advocate I

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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,375)