Folder Creation

1
Hello Experts Is there any way by which we can directly create a folder in our local using mendix
asked
3 answers
2

What do you want to achieve? Creating folders in runtime, you also need to have and to set the correct permissions. Please be aware it’s dangerous for your security if you are not familiar with this process.

Secondly, I prefer third party solutions if you want for example store (large) custom(er) files properly and secure externally.

But, if you still want to creating folders in runtime, it can be done by a custom Java Action. Read more here: https://www.javatpoint.com/how-to-create-a-new-folder-in-java

 

answered
2

Hi,

You can create folder using 

      File f1 = new File(path);  
      f1.mkdir();

 

Thanks.

answered
0

Hi Aditya, were you able to do it? Could you please tell me how you did it?

Thanks

answered