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
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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,234)