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 / Exporting Form and Nes...
Power Apps
Unanswered

Exporting Form and Nested Gallery Data to a Single PDF in Power Apps

(0) ShareShare
ReportReport
Posted on by 2
I have one form and a nested gallery in my Power App. I exported the form control details to a PDF, but the output only includes the form data. I also want to include the nested gallery details in the same PDF. The form contains user input fields, while the gallery displays a list of related records. Both the form and gallery data should be exported in a structured and readable format within a single PDF file
10.png
9.png
  • WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at
    Put both the Form and the Gallery in a Container then PDF the container. You can also use {ExpandContainers: true} as a parameter if the Gallery extends below the container bottom.
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn   
  • NB-01010918-0 Profile Picture
    2 on at

    I already got the form data after the export pdf, but here I uploaded my text data values and nested gallery code, but that gallery data is not in the pdf.

    this is my export to pdf button code - 

    Patch('export pdf',Defaults('export pdf'),{'Client Website':DataCardValue21_1.Text,'Task ID':DataCardValue28.Text,'Client Name':DataCardValue16_1.Text,'Responder name':Label62_3,'Conflit/No conflit':Label62_4,'Summary of Principal Activity':DataCardValue22_1.Text,'Proposed Engagement':DataCardValue23_1.Text,'Engagement Partner':DataCardValue24_1.Text,'Public Benefit Entity':DataCardValue44_1.Text,Shareholders:DataCardValue46_1.Text,'Directors/Trustees':DataCardValue47_1.Text,Subsidiaries:DataCardValue50.Text});Navigate('Successfull screen_user_1');

    after i run that pdf shows only the form responsers only

     
  • WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at
    So are both the From and Gallery in a Container ? Also what exactly is 'export pdf' and how does it relate to the Gallery, Nested Gallery and Form ? As well, can you see all the related items before you PDF the Container ?

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 Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard