cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cameron_A
Regular Visitor

Dynamic content in the HTML Table action

Hello,

 

I want to use the custom columns option in the Create HTML Table action to create the table with only a few of the fields from the chosen output.

 

Is this possible?

 

Because expressions are not useable, what i have been using for other actions does not work.

item()?['Column_name’]   

 

Thanks

 

 

 

3 REPLIES 3
Community Support
Community Support

Re: Dynamic content in the HTML Table action

Hi @Cameron_A,

 

Could you please share a screenshot of your flow’s configuration?
The expressions are not useable in custom columns option of “Create HTML Table” action, but you could use dynamic content to create custom columns. I have made a test on my side, please take a try with the following workaround:

  1. Choose a proper trigger, here I use “When an item is created” trigger of SharePoint connector.
  2. Add “Get Items” action
  3. Add “Create HTML table” action, From set to output of “Get items” action, Include headers set to Yes, Columns set to custom. Within Header and Value map, click Header box and type custom column name, then click Value box, type the dynamic content of previous action.

Image reference:2.JPG

 The flow works successfully as below:3.JPG

 

Besides, the item() function only takes effect inside a repeating action, this function returns the item that is in the array for this iteration of the action.

 

Best regards,

Kris

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

Re: Dynamic content in the HTML Table action

Hello,

 

Sorry, i did not mention that i as using the Filter and Select actions.

 Flow ScreenShot.PNG

The Table action currently uses the Select Action output to create the table with automatic columns. Ideally the dynamic content would remove the need for the select action.

 

Thanks

 

Microsoft
Microsoft

Re: Dynamic content in the HTML Table action

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,236)