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

Multiline text box to multiline Text in HTML

A section of the app I'm working on allows users to enter changes made to a user account. When the save button is pressed, it saves the changes to the Sharepoint list and produces a PDF copy of the adjusted user sheet. 

In the app, when these changes are documented they appear correctly: 

Screenshot_1.png

In the Sharepoint list, the changes appear correctly as well. However, in the PDF (created using HTML) it's all showing as one line: 

Screenshot_2.png

 

Does anyone know of a way that I can show this correctly on the PDF? 

 

Thank you in advance for the help!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

I figured it out.
you can use 

 

Multiline text.PNGmulti line results.PNG

View solution in original post

8 REPLIES 8
v-yuxima-msft
Community Support
Community Support

Hi @modernoddity 

 

Do you want to convert Html to PDF by PowerApp?

You can not only use PowerApp to achieve that currently, you need to use Microsoft Flow.

Could you please reference this?

http://www.cleverworkarounds.com/2018/03/09/three-ways-to-convert-html-to-pdf-using-microsoft-flow/

https://www.youtube.com/watch?v=bfXV_GXc_JM

 

Best Regards.

Yumia

Thank you, I'm already using flow. I've successfully converted HTML to PDF but I'm trying to figure out how to display the multiline text box from PowerApps correctly in the PDF. For example, when I write: 

test 1
test 2 

in the app, it displays exactly as it does above. Two separate lines of text. It displays this way in the Sharepoint list as well. But in the PDF it displays like this: 

test 1 test 2

 

 

Anonymous
Not applicable

I am having the same problem. I want to display in html text.

 

Any clue?

currently it is like this.

 

Table one row.PNG

 

I want to show it like this

 

Box multi line.PNG

Still trying to figure it out 😞 as soon as I find a solution I'll let you know!
Anonymous
Not applicable

I figured it out.
you can use 

 

Multiline text.PNGmulti line results.PNG

View solution in original post

Anonymous
Not applicable

refer to my comment above

@Anonymous  You rock! Thank you 🙂




Thank you soo much!
I am quite new to Power Apps and didn't notice that the text input is converted to html.
So quite clever to say that it should automatically substitute the linebreak from the text input to the linebreak tag (<br>) in html.

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,551)