When I use the pdf function in preview mode I get the full pdf off my scrollable screen. When I try to do the same thing after publishing it cuts off the image at what is viewable by the screen. The Summary Report 12 PDF is from preview mode the Summary Report 13 is from the published view. Any help would be great!
Hello @Prabhakar_S ,
I have the same issue with the screen-chopping of my canvas app.
Is there another way to make this work for a whole screen? I essentially use the same code as you, except where you currently have "Container1" I have "EditScreen1".
Many thanks for your views!
Thank you so much @Prabhakar_S ! This worked great.
Hi @Anonymous ,
Please select all the controls (i.e, label, text input, date picker, etc...) and put them under a single container and write this formula on the "Onselect" property of the PDF creator button,
Office365Outlook.SendEmailV2(
"abc@outlook.com",
{
From: User().Email,
Attachments: Table(
{
ContentBytes: PDF(
Container1,
{
Orientation: PaperOrientation.Portrait,
//Portrait or Landscape
Size: PaperSize.A4,
//Select your page size
DPI: 150,
ExpandContainers: true/* This property makes sure the full content of gallery/containers is expanded as PDF */
}
),
Name: "pdfname.pdf"
}
)
}
);
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2