cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
juresti
Responsive Resident
Responsive Resident

parse JSON for custom connector with no dynamic fields

I found myself having difficulty "discovering" the fields from my custom connector.

 

The api I am using does not appear to have their dictionary set up so that flow can get the field columns dynamically.

 

As a result I thought it was not possible, however I found that dynamically is not possible but with parse JSON it is.

 

I had tried parse JSON with no luck, except this time I tried something different I pressed the link "use sample payload to generate schema..." under the text box.

 

It is not clear on the interface that pasting into the box and pressing the link to generate the schema are two different methods.

 

I figured pasting the payload JSON would figure out the schema but it was not so, you have to click the link.

Anyhow I can get my fields now, makes it much easier for anyone else who also needed help with this:

 

pic11.PNG

 

pic12.PNG

 

 

1 REPLY 1
v-bacao-msft
Community Support
Community Support

Hi @juresti ,

 

I am glad that your question has been resolved and thank you for sharing. Basically, when using Parse JSON action, the set of sample responses is populated in the location of the diagram to automatically generate the schema.

3.PNG

In this way, it is convenient to refer to the data in JSON response through Dynamic content in the following action.

For more instructions, please refer to the following blog:

http://johnliu.net/blog/2018/6/a-thesis-on-the-parse-json-action-in-microsoft-flow

https://flow.microsoft.com/en-us/blog/five-services-json-http/

 

Best Regards,

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

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (51,766)