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 / export to pdf with dyn...
Power Apps
Unanswered

export to pdf with dynamic name

(0) ShareShare
ReportReport
Posted on by 834
hey guys, i use the code 
{Name: "download.pdf", Value: varPDF}
 
to export to pdf but need to have the file name assigned dynamically ... the trouble is i cant make it work with a label or variable... any suggestions?
  • msoenmez Profile Picture
    46 on at
    Let's say you have a Label with the name Label1.
     
    Your code should be :  {Name: Label1.Text & ".pdf", Value: varPDF}
     
  • Sifu Profile Picture
    834 on at
    @msoenmez yes, i tried with label or variable but i just get an error "File wasnt available on site"
     
  • msoenmez Profile Picture
    46 on at
    Can you please share, how you set the varPDF? I expect the Datastream you provide in Value might have a problem.
  • Sifu Profile Picture
    834 on at
    here quick example from  a test...  can you test this on your end if it works in any way.. and let me know

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 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard