cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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 @Anonymous ,

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
Super User III
Super User III

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

Hi @Anonymous ,

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 @Anonymous ,

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,938)