cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
notj
Level 8

Can't figure out how to target properties in returned item

I'm having a hard time returning the parameters output from a filter array. I can output the body to an html table, but only if I use automatic columns. If I switch it to custom columns, I can't target the parameters in the filter array item.

 

Here's some screenshots to show what I mean.

filter outputs.png

 

This is all that's available to me. When I compose the filter array body, this is what's returned:
returned body.png

When I use the custom columns option, you can see I don't have the option to select these fields.

 

custom columns.png

 

I'm obviously not understanding how this works. Can someone help explain it?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Can't figure out how to target properties in returned item

 

Hi @notj ,

 

The first method is that you need to get the field value using an expression like item()['ColumnName'].

Like:

21.PNG

Another method is that you first use Parse JSON to parse the body of the Filter array, and then you can use Dynamic content to configure the Create Html table action.

a-thesis-on-the-parse-json-action-in-microsoft-flow

handling-json-in-microsoft-flow

 

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.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Can't figure out how to target properties in returned item

 

Hi @notj ,

 

The first method is that you need to get the field value using an expression like item()['ColumnName'].

Like:

21.PNG

Another method is that you first use Parse JSON to parse the body of the Filter array, and then you can use Dynamic content to configure the Create Html table action.

a-thesis-on-the-parse-json-action-in-microsoft-flow

handling-json-in-microsoft-flow

 

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.

View solution in original post

notj
Level 8

Re: Can't figure out how to target properties in returned item

@v-bacao-msft thank you so much. Targeting the property in the expression worked just as you showed. 

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate 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 Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,363)