cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alex_Reig
Helper III
Helper III

Get a HTML text in a word from power apps

Hi all,

 

I'm trying to create a word file (a contract) where most of the text is always the same but company name, date or quantities... change.

 

The words that change are written in the DataCardValue of the power app to have something like " At &DataCardValue1&" the company "&Datacardvalue2&" earned "&datacardvalue3.

 

Now I can't create a word with it, but i can't put some parts of the text in italics or bold type

 

 

The data to make this application comes from Sharepoint for the editable fields but those that are always the same are written in the formula of the power app for the following Flow.

 

Alex_Reig_0-1639131218041.png

 

 

 

Alex_Reig_1-1639131218046.png

 

 

That’s the Word that I get without italics or bold type; I think that I have to change the From HTML to Text part of the flow for another thing or add something to get it in other format than only text

Alex_Reig_2-1639131218048.png

 

 

How can I convert this to HTML to get Word in bold or in italics?

 

Thank you very much

 

Àlex

1 ACCEPTED SOLUTION

Accepted Solutions
AnjelikaCh
Helper I
Helper I

Hi there,

 

I'd like to add that Plumsail Documents now support HTML in DOCX templates, so you can transfer HTML value right to the document template. Check the information on the HTML formatter for DOCX templates.

 

How to connect PowerApps to Plumsail Documents.

View solution in original post

3 REPLIES 3
v-bofeng-msft
Community Support
Community Support

Hi @Alex_Reig :

The point is that the "Html to text" action eliminates the format of HTML text and converts it to a pure string without formatting, so character formats such as bold and italic are invalid.

 

What you need may be the "Html to word" function,but I afraid that there is no way to convert a HTML file to a DOC file in Microsoft Flow recently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

In addition, you could consider take a try to convert a HTML file to PDF file, please check and see if the following article would help you:

Plumsail Documents connector

 

Best Regards,

Bof

AnjelikaCh
Helper I
Helper I

Hi there,

 

I'd like to add that Plumsail Documents now support HTML in DOCX templates, so you can transfer HTML value right to the document template. Check the information on the HTML formatter for DOCX templates.

 

How to connect PowerApps to Plumsail Documents.

Thank you @AnjelikaCh 

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 (3,583)