134
Views
5
Comments
Solved
[Ultimate PDF] Change PDF file name while downloading from the Chrome
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive

Hi,


I am generating a PDF using Ultimate PDF reactive component and on click of a button the PDF is opening in new tab using Javascript  and On the screen which I want as PDF I am using  OnInitialize action and in that using ScreenToPDF_OnInitialize as shown below.


But when I tried to download PDF  from the chrome using download option then it is taking the Name of screen and not the Filename parameter we have passed to ScreenToPDF_OnInitialize action.


I want to set the name of PDF File dynamically while downloading it from the chrome. 

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Hi Vaibhav. I believe version 5.0.3 fixes your scenario.

Thanks.

2025-04-17 05-42-16
Ajit Kurane

Hello Vaibhav,

Please check below post.

https://www.outsystems.com/forums/discussion/51475/on-download-file-name-should-be-dynamic/

Hope it helps you.

Regards,

Ajit Kurane

2022-01-24 13-22-23
Vaibhav Patidar

Hi Ajit,


I checked the post you shared but I am still having the same issue.


Thanks

Vaibhav

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

Hi Vaibhav. Please try upgrading to the latest version 5.0.2, which fixes a bug that could have caused this.

2022-01-24 13-22-23
Vaibhav Patidar

Hi Leonardo ,

I have updated Ultimate PDF and the Ultimate PDF Demo to the latest version. In the ultimate PDF demo on SampleScreenToPDF  screen OnInitialize I have changed OpenInBrowser to true and set the filename as sample.pdf.


 when I am  clicking on sample02 in Ultimate Pdf Demo PDF is opening in browser and when I tried to download it from the Chrome download option , the downloaded PDF name is taking the Screen name which SampleScreenToPDF.


While downloading the PDF I want to set the downloaded PDF name dynamically while downloading using chrome downloaded option.

Is There any way to achieve this in Ultimate PDF ?

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Hi Vaibhav. I believe version 5.0.3 fixes your scenario.

Thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.