Dynamically create a folder

LabKey Support Forum (Inactive)
Dynamically create a folder jeckels  2012-10-09 13:14
Status: Closed
 
Hi Charlotte,

If you're using the JavaScript APIs, you can use LABKEY.Security.createContainer(). If you're using Java, the equivalent API is org.labkey.remoteapi.security.CreateContainerCommand.

Whatever language you are using, the user invoking the API will need to be a site admin to create a project, or at least a project admin to create a folder. This is the same permission requirements as using the standard user interface.

Thanks,
Josh