uploadResourcesFromUrl

Function

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
authentication Optional UserSession
hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

Promise<any[]>

Function defined in common/src/resources/upload-resources-from-url.ts:12