Create Folder

Can we create a Folder on the localFileSystem ?

  • Not a temporaryFolder
  • From a Panel plugin

If not can we please have this.

1 Like

Yes. You need to have a reference to a writable folder (e.g., with localFileSystem.getFolder()) and then create a folder in it with let newFolder = folder.createFolder('new folder name').

If you don’t want to have a popup to select a folder, you can create folders in the plugin’s data directory with fileSystem.getDataFolder().

I hope this helps,
Happy coding :slightly_smiling_face: ,
Pablo

1 Like

Oh, thanks @pklaschka. I missed that in the docs

  • (find in page not working for me I guess).
1 Like