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 Automate / Creating pdf from powe...
Power Automate
Answered

Creating pdf from power apps Screen

(1) ShareShare
ReportReport
Posted on by 31

On PowerApps, I wanted to capture the pdf of a container, thus I gave Set(pdfblog,PDF(Container1,Expandcontainers:true)); for the items in the button, but I'm getting an error. Does anyone know why the option Expandcontainers is not being recognised?

  • Verified answer
    CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    Hey @dianate12 

     

    I think you have a syntax problem - i.e. you are missing {}

     

    Set(pdfblog,PDF(Screen3,{Expandcontainers:true}))

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard