createFolder

createFolder

Function
createFolder(requestOptionsICreateFolderOptions): Promise<IAddFolderResponse>

Create a folder. See the REST Documentation for more information.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
import { createFolder } from "@esri/arcgis-rest-portal";

createFolder({
  title: 'Map Collection',
  authentication: ArcGISIdentityManager
})
  .then(response)
Parameters
ParameterTypeNotes
requestOptions
ICreateFolderOptions

Options for the request

Returns 
Promise<IAddFolderResponse>

A Promise that resolves with folder details once the folder has been created

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.