Convert FileDocument to File

1
Hi All, Do you know if there is any existing method which converts the document system.proxies.FileDucment type to java.io.File type? Thanks
asked
1 answers
2

Take a look at the API docs.

 

Core.getFileDocumentContent(IContext context, IMendixObject fileDocument)

returns

static java.io.InputStream

Then, you just have to write the InputStream to a file.

answered