Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 8M1BRG8y2fUKLcI7mpeFyO
Power Apps - Building Power Apps
Answered

Creating PDF with Rich Text Formatting Issue

Like (0) ShareShare
ReportReport
Posted on 28 Apr 2022 14:13:18 by 17

I am creating a PDF with the standard method using power automate, create/convert one drive file. I have some rich text fields in my power app that feed a sharepoint list multi line text columns. The PDF generated just fine, however for the rich text fields, the formatting is dropping from the 1st line in the text boxes.

 

Here is the HTML snip for one of the rich text boxes 'Problem Description'

 

 

 

<span style="font-family: tahoma"><strong>Problem Description:</strong</span> ['ProblemDescription']

 

This is what it looks like in the app:

vvSTRIDEvv_0-1651154947309.png

Here is what the PDF is doing, notice the numbering gets wonky:

vvSTRIDEvv_1-1651154992145.png

 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    on 02 May 2022 at 02:24:19
    Re: Creating PDF with Rich Text Formatting Issue

    Hi @vvSTRIDEvv ,

     

    I've made a test and encountered the same problem 

    vbofengmsft_0-1651458012258.png

    The point is that the convert file action is not very compatible with HTML files containing CSS styles. You can consider creating a new idea through the below URL, then ask  your colleagues to raise up the votes.  

    Power Apps Ideas - Power Platform Community (microsoft.com) 

    The  product team has direct visibility of these ideas and they will implement it on the basis of the highest number of votes received. 

     

    Currently, my alternative is to use a 3rd party connector(Encodian😞

    vbofengmsft_3-1651458205261.png

     

    vbofengmsft_1-1651458165739.png

     

    vbofengmsft_2-1651458187675.png

    Best Regards,

    Bof

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 68 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 38

Overall leaderboard
Loading started