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 is not generatinge...
Power Apps
Unanswered

PDF is not generatinge for flexible height gallery

(0) ShareShare
ReportReport
Posted on by 8
Q : How can i make pdf for flexible height gallery?

Issue : Only visible portion of the gallery within the screen is prining for flexible gallery but i need all item to be printed for flexible height gallery.
sample code i have used for view pdf
Set(varpdf,PDF(Gallery6,{ExpandContainers:true}))
Categories:
I have the same question (1)
  • Fardy_MADI_2 Profile Picture
    332 Super User 2024 Season 1 on at
     
    To solve your issue insert your gallery in a vertical container  and use this container in the PDF function.
     
     
    First you have to make a dynamic height for the gallery with this formula : 
    (Self.TemplateHeight + Self.TemplatePadding) * Self.AllItemsCount
     
    Then, because your gallery will be larger than your container you can set the LayoutOverflowY of the vertical container to LayoutOverflow.Scroll
     
    Finally you just have to use the PDF formula Set(varPDF, PDF(Container4, {ExpandContainers:true}))
  • CU25121618-0 Profile Picture
    8 on at
    @Fardy_MADI

    This method is not working. ( * ) is marked red.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard