How to Add Functionality to give a download option in application where user can download files like DOC, PDF.
Hi Ravi,
I'm not quite sure I understand what you mean. Do you want to allow the user to download files? If so, where are these files coming from?
I will complement the questions Kilian did asking one very important thing. Is it a MOBILE or WEB application?And what exactly is your requirement?
And, most important, did you the online training? ;)
In any case, if it is web, you execute a screen action and at the end of the screen action you replace the End node by a Download:
You have to give to it the binary (file content) and the file name.
If it is mobile, you can take a look here: https://www.outsystems.com/forums/discussion/27001/how-to-download-pdf-docx-xlsx-from-binary-in-db-to-mobile-app/
Cheers.
Hi Kilian,
Thanks for Reply.
File is Coming from customers and owner will download and Validate those files.
Kilian Hekhuis wrote:
Thanks Jauch,
Thanks for the information. it's really very helpful.
Eduardo Jauch wrote:
It seems to me your question is more about "how do I create a whole application for uploading, managing and downloading documents" then a specific question about how to do things in OutSystems? We can help you with the latter, but the former is more about application design, and out of scope for this forum.
Hi,
Hi Carlos,
You don't have a similar problem I think, but a totally unrelated one. Next time, please start a new topic!
Hey I know this kind of a really silly question, but, I am unable to find the download node.
I need to use it in a web application to convert a HTML tag into PDF, I hope this is going to be possible with the download node. I need to extract a report from a container to a PDF page and also in excel.
If someone differs with this view, or if this is not the right approach do get back to me as I am working on a product and looking for the best possible approach for this.
Please excuse in case you feel this is unrelated to this thread. :)
Yes, it is unrelated to this topic, but also what you want can't be done. There's no "converting" with the Download Statement, it's just downloading whatever binary you prepared. The Download Statement is only available in Screen Actions.