web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / HTML output to PDF is ...
Power Apps
Answered

HTML output to PDF is giving false statement

(1) ShareShare
ReportReport
Posted on by 65

Hi, 

 

I am trying to convert HTML to a PDF using powerapps. I have a Form in the powerapp in which the source is a SharePoint list that I am writing into when I submit. When I submit the whole form, it is supposed to write to the SharePoint list and also generates a PDF from HTML that is also in the powerapp. I have attached screenshots of the form that is feeding into the SharePoint list and some of the HTML that I wrote to generate the PDF. I also attached the image of what the HTML gives me (it is giving me just a false statement). 

 

I am worried that because I am referencing data that is entered into the Form, the HTML is not picking that data up and writing into the PDF.

 

Any help with this would be appreciated. 

HTML example.PNG
Form Data.PNG
FALSE HTML output.PNG
Categories:
  • Verified answer
    poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @jviernes 

     

     

    We can reproduce getting false in one particular way.

     

    It happens if you accidentally use certain Logical operators at somewhere in your long HtmlText property definition.

     

    For example, the moment we put "&&" somewhere there for HtmlText, we get "false" just like you.

     

    Check if you inadvertently used "&&" instead of "&" anywhere in the property definition.

     

    We didn't see it in your screenshot, but your screenshot is not showing the entirety of the property expression, especially after

     

     

     

    ..." </u> &nbsp;&nbsp;&nbsp;&nbsp; Zip: <u> "& DataCardVa.... 

     

     

     

     

    Check and let us know if you found inadvertent use of "&&" somewhere, as that is how we reproduced your situation of getting "false" as the output of HtmlText.

  • jviernes Profile Picture
    65 on at

    @poweractivate 

     

    Thank you very much! That was the exact problem!

     

    Appreciate the help on this problem. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard