Hi Yasar,
You could check out the Mendix Appstore for a module to to that. It looks the ZipHandling module will do the trick. https://appstore.home.mendix.com/link/app/108292/
Good luck!
Hello Yasar,
You can do it in Java using code similar to this:
List<IMendixObject> ZipFiles = new ArrayList<IMendixObject>();
InputStream fileInputStream = Core.getFileDocumentContent(getContext(), InputZipFile.getMendixObject());
ZipInputStream zis = new ZipInputStream(fileInputStream);
ZipEntry ze;
while ((ze = zis.getNextEntry()) != null) {
IMendixObject FD = Core.instantiate(getContext(),flatfileinterface.proxies.ImportExportDocument.getType());
Core.storeFileDocumentContent(getContext(), FD, zis);
FD.setValue(getContext(), flatfileinterface.proxies.ImportExportDocument.MemberNames.Name.toString(), ze.getName());
ZipFiles.add(FD);
}
We’ve managed to use this locally and in Cloud v3. Cloud v4 caused some issues so we eventually dropped it.
Hope this is of use, good luck