createItemInFolder
FunctioncreateItemInFolder(requestOptions: ICreateItemOptions): Promise<ICreateItemResponse>
Create an item in a folder. See the REST Documentation for more information.
import { createItemInFolder } from "@esri/arcgis-rest-portal";
createItemInFolder({
item: {
title: "The Amazing Voyage",
type: "Web Map"
},
folderId: 'fe8',
authentication
})
Parameters
Parameter | Type | Notes |
---|---|---|
request | ICreateItemOptions | = Options for the request |
Returns
Promise<ICreateItemResponse>