information on export/download file residing on specific directory

72 views
Skip to first unread message

Andrea Bellotto

unread,
Apr 15, 2021, 2:58:39 AM4/15/21
to iDempiere
Hi everyone,

I wanted to know if anyone has ever used "File - Code or Other" as a type of data export.
I would like to export the package of a file located in a specific directory of the server where iDempiere is installed, is this possible?
Or is there another way to export / download a file directly from iDempiere?  
Package Details - File.png


Thanks in advance

Andrea Bellotto

Carlos Antonio Ruiz Gomez

unread,
Apr 15, 2021, 5:01:22 AM4/15/21
to idem...@googlegroups.com
Hi Andrea, I think that's legacy, from swing times to inject files into a folder.

Regards,

Carlos Ruiz


Am 15.04.21 um 08:58 schrieb Andrea Bellotto:

Andrea Bellotto

unread,
Apr 16, 2021, 4:46:50 AM4/16/21
to iDempiere
Hi Carlos,

thanks for your answer. I assumed it was an old setting. Do you have any advice for me on how to download a file directly from idempiere?
Otherwise can I take advantage of this?

processUI.download (new File (exportFile));

Thank you in advance

Regards,

Andrea Bellotto

Carlos Antonio Ruiz Gomez

unread,
Apr 16, 2021, 5:17:11 AM4/16/21
to idem...@googlegroups.com
It depends your use case, if is in a process, yes, processUI.download can do the trick.




Am 16.04.21 um 10:46 schrieb Andrea Bellotto:

Andrea Bellotto

unread,
Apr 16, 2021, 8:01:29 AM4/16/21
to iDempiere
ok, i think i will do so.
Thanks so much

Regards
Reply all
Reply to author
Forward
0 new messages