How to import a file from url to filedocument in mx?

0
Hi all,   I am wondering how I can import a file (pdf) to filedocument in Mendix, from a given direct link to the file? There is just a url provided, no api or so to work with.   thanks  
asked
2 answers
4

Hi Enzo,


Import the community commons module in your project. It contains a Java action that allows you to import file from URL: StoreURLToFileDocument - Retrieve a document from an URL using a HTTP GET request.

 

With kind regards,

answered
3

Same question and solution posted here btw.

answered