createItemFromUrl

Function

Create AGO item from a URL

  • createItemFromUrl(item: IItemAdd, requestOptions: IUserRequestOptions) : Promise<ICreateItemResponse>

Parameters

Parameter Type Default Notes
item Required IItemAdd

Item to be uploaded into online.

requestOptions Required IUserRequestOptions

Available requestOptions

Property Type Notes

Returns

{Promise} Newly created item ID

Promise<ICreateItemResponse>
Property Type Notes

Function defined in common/src/items/create-item-from-url.ts:13