uploadResourcesFromUrl
Given an Item and an array of resources, upload them
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| itemModel Required | IModel |
Item add the resource to |
|
| resources Required | IItemResource[] |
Array of resources, with urls, to upload to the item |
|
| requestOptions Required | IHubRequestOptions |
Available requestOptions
| Property | Type | Notes |
|---|---|---|
| Optional | ArcGISIdentityManager | |
| Optional | function(input: RequestInfo, init: RequestInit) : Promise<Response> |
The implementation of |
| Optional | string |
This is for server-side usage only, not for front-end use. |
| Optional | string | |
| Optional | boolean | |
| Optional | IHubRequestOptionsPortalSelf |
Returns
Promise<any[]>
Function defined in packages/common/src/resources/upload-resources-from-url.ts:12