exportItem
constant
FunctionexportItem(requestOptions: IExportItemRequestOptions): Promise<IExportItemResponse>
Exports an item from the portal. See the REST Documentation for more information.
import { exportItem } from "@esri/arcgis-rest-portal";
exportItem({
id: '3daf',
owner: 'geemike',
exportFormat: 'CSV',
exportParameters: {
layers: [
{ id: 0 },
{ id: 1, where: 'POP1999 > 100000' }
]
},
authentication,
})
Parameters
Parameter | Type | Notes |
---|---|---|
request | IExportItemRequestOptions | Options for the request |
Returns
Promise<IExportItemResponse>
A Promise<IExportItemResponse>