Skip to main content

Notifications

Community site session details

Community site session details

Session Id : NYOLUaOWBYDVY7Hc0jbRFB
Power Apps - Power Apps Pro Dev & ISV
Unanswered

export to pdf with dynamic name

Like (0) ShareShare
ReportReport
Posted on 8 Jan 2025 11:04:49 by 832
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?
  • Sifu Profile Picture
    832 on 09 Jan 2025 at 12:30:00
    export to pdf with dynamic name
    here quick example from  a test...  can you test this on your end if it works in any way.. and let me know
  • msoenmez Profile Picture
    46 on 09 Jan 2025 at 12:14:09
    export to pdf with dynamic name
    Can you please share, how you set the varPDF? I expect the Datastream you provide in Value might have a problem.
  • Sifu Profile Picture
    832 on 08 Jan 2025 at 15:55:22
    export to pdf with dynamic name
    @msoenmez yes, i tried with label or variable but i just get an error "File wasnt available on site"
     
  • msoenmez Profile Picture
    46 on 08 Jan 2025 at 15:42:30
    export to pdf with dynamic name
    Let's say you have a Label with the name Label1.
     
    Your code should be :  {Name: Label1.Text & ".pdf", Value: varPDF}
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 6 Super User 2025 Season 1

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 4

#2
EE-04041031-0 Profile Picture

EE-04041031-0 4

Overall leaderboard