cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Removing HTML Text / Code

Hello Everyone,

 

I need help with something. I made this reminder stuff for my manager. I got all the data from SharePoint Calendar. But then, the output didn't work well as expected. I need to remove this HTML code in my Description column, because my manager don't wanna see it.

 

So I was wondering if I could remove this HMTL from description column? 

ErikD_0-1603861576342.png

 

 

 

 

 

 

 

 

 

Here is my flow in case you guys need it

ErikD_1-1603862085957.png

 

Any solution would be helpful.

 

Thank you

Erik.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Diksha
Resolver IV
Resolver IV

Hi @Anonymous ,

 

The HTML to text action could achieve your needs. 

 

Add a "Html to text" action, Content field set to Description dynamic content of the trigger.

It will return the output to plain text and then use you use this output inside Create HTML table.

 

Capture.PNG

 

Output -

Capture1.PNG

 

If this answered your question, please mark this question as answered and if you liked my response, please consider giving it a thumbs up .

Thank You !!!

 

View solution in original post

5 REPLIES 5
Diksha
Resolver IV
Resolver IV

Hi @Anonymous ,

 

The HTML to text action could achieve your needs. 

 

Add a "Html to text" action, Content field set to Description dynamic content of the trigger.

It will return the output to plain text and then use you use this output inside Create HTML table.

 

Capture.PNG

 

Output -

Capture1.PNG

 

If this answered your question, please mark this question as answered and if you liked my response, please consider giving it a thumbs up .

Thank You !!!

 

Anonymous
Not applicable

Hi @Diksha 

 

Thanks for your reply. I've tried your method.

 

Just a quick question. Can I use this "HTML to Text" action without using "Apply to Each"? 

ErikD_0-1603984125508.png

Because whenever I want to try this flow, its getting an error message. It's really confuses me right now.

Or is there something wrong with my flow?

 

Can you help me?

 

Thank you,

Erik.

 

Hello @Anonymous ,

 

You don't have to delete the Apply to each loop. 

Instead use the Select action inside this loop after Convert HTML to text action . 

Refer screenshot below - 

 

Capture.PNG

If this answered your question, please mark this question as answered and if you liked my response, please consider giving it a thumbs up .

Thank You !!!

Hey I am having trouble with something of the sort, this may work for One item. What if I have multiple columns in sharepoint that have HTML to be converted to text? How do I go about that?

I have the same issue as the original poster but I don't see how this helps? Could you expand on this to we can see how you would get the data into a table and sent via email with everything rendered properly. For example in your select how are you mapping, ultimately we would need all the data from the list mapped so we can create the table in the next step.

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 (5,227)