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 | |
Optional | boolean | |
Optional | IHubRequestOptionsPortalSelf |
Returns
Promise<any[]>
Function defined in common/src/resources/upload-resources-from-url.ts:12