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?