updateItemInfo

updateItemInfo

Function
updateItemInfo(requestOptionsIItemInfoOptions): Promise<IItemInfoResponse>

Update an info file associated with an item. See the REST Documentation for more information.

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

updateItemInfo({
  id: '3ef',
  file: file,
  authentication
})
  .then(response)
Parameters
ParameterTypeNotes
requestOptions
IItemInfoOptions

Options for the request

Returns 
Promise<IItemInfoResponse>

A Promise that updates an item info file.

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