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 / PDF Experimental semi-...
Power Apps
Unanswered

PDF Experimental semi-blank when emailing canvas app with containers

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I have enabled the experimental PDF function and linked the function to an email icon and set the following code in the OnSelect of the icon:

Office365Outlook.SendEmailV2(
 User().Email, // selects the current user logged in
 "This is a test subject", // populates the subject of the email
 "Please find test email from PowerApps", // populates the body of the email
 {
 Attachments: Table(
 {
 Name: "canvasAppView.pdf", // defines the name of the PDF file
 ContentBytes: PDF(summary) // captures the current screen
 }
 )
 }
)

The email was sent to my office365 account with the set parameters from the code.

However the pdf is semi-blank. Meaning it is only showing the background of the application and partially visible text.

 

What I expected to see was the below.  "some text I obfuscated"

GanaDube_0-1668964370849.png

What I am getting is the below:

GanaDube_1-1668964798970.png

The elements from my canvas app are not showing, most of the text and pictures are in containers.

I am not sure why the view is only showing the background.

 

Thank you

 

Categories:
I have the same question (0)
  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Gana-Dube ,

    Could you please tell me:
    1. Is the area where your PDF works a nested library?

    Here are some restrictions about PDF function for your reference:

    vchengfenmsft_0-1669008430612.png

    Here is a link about PDF for your reference:

    PDF function in Power Apps (experimental) - Power Platform | Microsoft Learn

    Do you want to get a screenshot of the current Apps page?

    Here is a link for your reference:

    Power Apps Guide - Media - How to enable users to create and save screen shots from a canvas app - Power Apps Guide - Blog

     

    Best Regards

    Cheng Feng

  • Gana-Dube Profile Picture
    2 on at

    Hi @v-chengfen-msft 

    No nested galleries used, or any galleries at all. Only containers.

    Kindly see below canvas screen structure.

    GanaDube_0-1669012469911.png

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Gana-Dube ,

    Could you please tell me how you set the background color?

    Could you please try to use PDF fcuntion for a container alone?

    Could you use screenshots to show what the controls in these Containers are? (Pay attention to protecting personal privacy)

    Best Regards

    Cheng Feng

  • Erick_Admin Profile Picture
    2 on at

    Hi!
    I had a similar issue, what I did was to put everything in 1 big container (screen size) and instead of sending the screen to the PDF function I sent the container and it worked.  I hope you find this helpful 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard