cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ozer85
Level: Powered On

Dynamics 365 List Records - support custom navigation properties

My Dynamics 365 implementation has a number of custom solutions which act to link up the data various entities. When I query D365 using an HTTP request, I can use $expand to reference custom navigation properties associated with an Entity to retrieve all the data I need in one query string.

 

However the 'Expand Query' input field in the 'List Records' action doesn't seem to work with these custom navigation properties (in fact, it seems to fail silently, with the Flow running successfully but no data returned from the expand query). This is a problem for me as sometimes these are the only way to connect the data in two different records, which means I can't use Flow in these cases. Please could you roll out support for this?

 

Thanks!

2 REPLIES 2
Community Support Team
Community Support Team

Re: Dynamics 365 List Records - support custom navigation properties

Hi @ozer85 ,

 

Could you please share a screenshot of the configuration of your flow?

I have made a test on my side , hope the link below could be your reference:

https://community.dynamics.com/365/b/cosmansdynamcis365/posts/understanding-the-expand-query-in-the-...

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

ozer85
Level: Powered On

Re: Dynamics 365 List Records - support custom navigation properties

Hi Alice/@v-alzhan-msft,

 

Thanks very much for your response. As requested, here is a screenshot of the relevant bit of my Flow (everything works to this point and I get the expected response, but without the expand query data):

Flow request

For context, below is the relevant bit of the dynamics metadata showing the navigation property.

 

Metadata

 

I know that it works correctly because the following HTTP request works fine (taken from a Python script I wrote with URI encoding, but should work in any language):

https://[MyDynamicsBaseURL]/api/data/v9.1/svrsys_insights?$filter=svrsys_name%20eq%20%27' + title_variable +'%27%20and%20_svrsys_publishingstate_value%20eq%20%2789bfc7ac-8937-4c77-a83d-455082770200%27&$select=svrsys_publisheddate&$expand=svrsys_svrsys_insight_tcrmb_programme($select=tcrmb_programmeid)

However while the Flow executes succesfully and returns data from the 'List Records' request (see below), it doesn't include the expand query data in the returned JSON object. Perhaps there is an issue with using a filter query and an expand query in the same request?

 

Flow response

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 314 members 4,891 guests
Please welcome our newest community members: