cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JoeAu
Helper II
Helper II

Remove html

I have a Description fields, which is a multiple line, in Sharepoint list.

I add this Description fields into an Approvals flow.

but it shows me as html tag in the email.

How to get away the html ?

 

Thanks,

Joe

error.JPG

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @JoeAu,

 

Could you please share a screenshot of your flow's configuration?

Is the Description field a Multiple lines of text type column in your SharePoint list?

 

I think the "Html to text" action could achieve your needs, I have created a SharePoint list on my side and the data structure of it as below:18.JPG

Note: The Description column is a Multiple lines of text type column in my SharePoint list.

 

I have made a test on my side and please take a try with the following workaround:

  • Add a "When an item is created" trigger, specify Site Address and List Name.
  • Add a "Html to text" action, Content field set to Description dynamic content of the trigger.
  • Add a "Start an approval" action, Details field set to output of the "Html to text" action.

Image reference:19.JPG

The flow works successfully as below:20.JPG

 

21.JPG

 

More details about the "Html to text" action, please check the following article:

https://flow.microsoft.com/en-us/blog/seven-connectors-and-html/

 

Please also check and see if the following article would help in your scenario:

https://powerusers.microsoft.com/t5/Using-Flows/Send-an-email-when-a-new-item-is-created-in-SharePoi...

 

 

 

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.

Thanks Kris.

 

Yes. the Description field is a multiple lines type.

The screenshot as below:

description.JPG

 

I am using your suggestion the "Html to text" action.

I find that if the Description has 2 lines as below:

 

This is line 1.

This is line 2.

 

Then, the output is:

 

This is line 1. This is line 2.

 

So, do you have any solution to work around?

 

Thanks so much.

Joe

 

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (1,289)