Notifications
Announcements
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!
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 LandscapeSize: PaperSize.A4, //Select your page sizeDPI: 150, ExpandContainers: true/* This property makes sure the full content of gallery/containers is expanded as PDF */ } ), Name: "pdfname.pdf" } ) });
Thank you so much @Prabhakar_S ! This worked 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!
@Prabhakar_S
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 793 Most Valuable Professional
Michael E. Gernaey 333 Super User 2025 Season 2
Power Platform 1919 268