cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
oaghaei
Resolver I
Resolver I

Convert a multi line field to plain text for an HTML table

I have a flow that takes items from a list and places them into an HTML table. One of the fields however, is a multi line field, and I am not sure how to convert the multi line field to a plain text. Any resources for this would be appreciated! 🙂 

Here is my flow with the output: 

oaghaei_0-1635902817366.png

Get items - map out the fields in the select card -> create HTML table and compose the HTML style for the table. 

oaghaei_1-1635902868106.png

Here is the trouble multi line field that I would like to reflect plain text from the multi line field.

oaghaei_2-1635902957725.png

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

@Mira_Ghaly hello!!! I wanted to send you a belated thank you for taking the time to consider the issue I was having with a multi line field. I finally figured out the issue. I went into the settings of the field and changed the text type from "enhanced rich text" to "plain text". I reran my flow and the column i was having the issue with, came through beautifully. I just wanted to share here in case anyone else runs into the issue, and to thank you for taking the time to trouble shoot!

oaghaei_1-1649097097951.png

 

 



View solution in original post

2 REPLIES 2
Mira_Ghaly
Dual Super User
Dual Super User

@oaghaei 

 

I tried the below approach and it worked for me:

1. Initialize a new array 

2. Loop on your Get Items

3. Then Call Html to Text Action

4.  Create a Compose data action with the Columns you want to have in your array and show on your HTML Table

5. Then append the output from your compose action to the Formatted Array

6. Last step would be to pass your array to the convert Table to HTML action.

 

 

Mira_Ghaly_1-1635905887156.png

Mira_Ghaly_2-1635905964592.png

And here is the output at my side:

Mira_Ghaly_3-1635906016410.png

 

 

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Mira_Ghaly hello!!! I wanted to send you a belated thank you for taking the time to consider the issue I was having with a multi line field. I finally figured out the issue. I went into the settings of the field and changed the text type from "enhanced rich text" to "plain text". I reran my flow and the column i was having the issue with, came through beautifully. I just wanted to share here in case anyone else runs into the issue, and to thank you for taking the time to trouble shoot!

oaghaei_1-1649097097951.png

 

 



Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,023)