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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Problem with images no...
Power Apps
Unanswered

Problem with images not showing in PDF

(0) ShareShare
ReportReport
Posted on by 113
Hello!
 
I'm using this formula to print PDF from container called PDFContainer and to send it to email as an attachment.
 
Set(NewPDF, PDF(PDFContainer, {Orientation: PaperOrientation.Portrait,
                    Size: PaperSize.A4,Margin:"30px",ExpandContainers: true}));
 
Office365Outlook.SendEmailV2(
   Concat(
    LookUp('Auditointivastaukset', AuID = varAuID, Auditors),
    Email,
    "; "
),
    "TUTKA-kierrosraportti"&" "&"-"&" "&varAuID&" "&"-"&" "&LookUp('Auditointivastaukset', AuID=varAuID).Department,
    HtmlReport.HtmlText, {IsHtml: true, Attachments: Table({ Name: "TUTKA-kierrosraportti.pdf", ContentBytes: NewPDF})});
 
 
 
This is the view from PDFContainer that it's printing:
 
 
Inside the container there is a gallery, which gets its data from sharepoint-list.
These images are also from image columns of sharepoint-list with simple formula "ThisItem.Image1" etc.
 
Sometimes some of the images are not shown in PDF that i get to my email. I think they are still showing in this gallery
but if I scroll it, there can be some delay with showing them. Could this cause some problems with printing, if the app creates the print
before all images are properly loaded?
Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard