ArcGISKit Documentation

Function create​Folder(name:​gis:​)

public func createFolder(name: String, gis: GIS) 

Creates a folder in which items can be placed. Folders are only visible to a user and solely used for organizing content within that user's content space.

The create user folder operation (POST only) is available only on the user's root folder. Multilevel folders are not supported. The user provides the title for the folder, which must be unique to that user. The folder ID is generated by the system.

Parameters

name String

The name of the folder to create.

Throws

AGKRequestError

Returns

The ID of the created folder