Download a PDF

0
Hi Team, I have a PDF which is displayed by passing a dynamic URL. I haven't stored the PDF anywhere in mendix. The document is already generated by a remote API and I just show it in mendix using the IFrame widget. Now I want to have a action button 'download' to download the PDF. Is there any way I can achieve that.? Thanks in advance.
asked
2 answers
1

If you have the exact url of your pdf file stored in an attribute, you could create a link button, with the url to your file as the address.

 

 

answered
-1

If the case is that your PDF is not in Mendix but you do want to download it from Mendix, you should retrieve the PDF document first. This might be possible with a web- or REST service if the other side allows this. The IFrame widget just shows an other webpage, it's not possible to get data like a pdf with it.

answered