Batch creation of file sets

LabKey Support Forum
Batch creation of file sets WayneH  2018-11-26 12:20
Status: Active
 

Hi everyone

we have a file repository that will have a somewhat complicated structure because it is meant to facilitate incoming data from multiple sites and we would like to create fillesets for each of these so that we can expose only specific folders to users via the file web part. Creating these individually is doable but it would be much more preferable to create some automated/batch scripted process to generate these? Is there some way to do this in labkey? I don't see any where in the schema that we can list/add/update fillesets... that might be a path to a solution?

thanks,

Wayne H

 
 
Jon (LabKey DevOps) responded:  2018-12-10 20:40
Status: Closed
Hi Wayne,

There are some Javascript API endpoints that might be helpful in accomplishing this goal:

https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.FileSystem.AbstractFileSystem.html
https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.FileSystem.WebdavFileSystem.html

Otherwise, this would be a manual solution with the Community version with its current functionality.

Regards,

Jon