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

BUG? - Dynamic Content items disappear when type is set within JSON Schema

My HTTP request is returning a JSON payload which I am trying to build the schema for. The payload is an array  of objects who's poroperties I need to access. 

 

I have discovered that if an object property has a 'Type' definied within the schema (EG: "address":{"type":"string"}  ) it will immediately become unavailable as a Dynamic Content field. If this type definition is removed (EG: "address":{}   ) then the field becomes available in the Dynamic Content list. 

 

This seems like an obvious bug to me, but perhaps I am missing something? 

 

Please help.

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: JSON Schema to access object properties within an array

Hi @Ben_Love,

 

Have you tried the parse JSON action?

Parse JSON messages

Just choose the HTTP request body as the value input, then the parse JSON action should be able to return the proper content.

Besides, for the HTTP request, in addition to writing schema directly, please click the Use sample payload to generate schema to auto-generate the Schema.

See if that would help.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ben_Love
Level: Powered On

Re: JSON Schema to access object properties within an array

Yes. It is the Parse JSON action which I am using to build the scheme mentioned above. Apologies I didn't make that clear in my original post.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us 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!

Top Kudoed Authors
Users Online
Currently online: 48 members 4,892 guests
Please welcome our newest community members: