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.
Hi Vaibhav. I believe version 5.0.3 fixes your scenario.
Thanks.
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
Hi Ajit,
I checked the post you shared but I am still having the same issue.
Thanks
Vaibhav
Hi Vaibhav. Please try upgrading to the latest version 5.0.2, which fixes a bug that could have caused this.
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 ?