cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Create unique PDF file from HTML.Text so that I / users do not delete other PDF files downloaded

Hi all,

 

I have been following the amazing tutorial that Shane Young has created, in which he makes a PDF from data in a PowerApp.

 

https://www.youtube.com/watch?v=bfXV_GXc_JM

 

However, in that tutorial it seems that the PDF-file from the data gets downloaded into OneDrive with a preset name from Microsoft Flow.

 

Is there any way to change that so that it will create a unique name set by the user so that we do not end up in a situation where formerly downloaded PDF files get deleted due to overwriting of a new PDF?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Create unique PDF file from HTML.Text so that I / users do not delete other PDF files downloaded

Hi @AndersIskov ,

Could you please share a screenshot about your flow's configuration?

 

Based on the needs that you mentioned, I have made a test on my side, please consider take a try with the following workaround:

1.JPG

Within the "Create file 2" action, add the following expression in the File Name field:

formatDateTime(utcNow(), 'yyyyMMddHHmmss')

along with '-CanvasApp.pdf'. Then the generated PDF file would have unique file name.

 

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Champion
Community Champion

Re: Create unique PDF file from HTML.Text so that I / users do not delete other PDF files downloaded

Hi @AndersIskov ,

Use “Ask in PowerApps” for the name of the file.  I can give you some examples if you want to do this.

 

 

Please click and accept as Solution if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

Highlighted
Community Support
Community Support

Re: Create unique PDF file from HTML.Text so that I / users do not delete other PDF files downloaded

Hi @AndersIskov ,

Could you please share a screenshot about your flow's configuration?

 

Based on the needs that you mentioned, I have made a test on my side, please consider take a try with the following workaround:

1.JPG

Within the "Create file 2" action, add the following expression in the File Name field:

formatDateTime(utcNow(), 'yyyyMMddHHmmss')

along with '-CanvasApp.pdf'. Then the generated PDF file would have unique file name.

 

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,879)