getItemHomeUrl
Return the URL of the item's page in the Portal Home application
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
itemId Required | string |
The item's ID |
|
portalUrlOrObject Optional | string | IPortal | IHubRequestOptions | IRequestOptions |
a portal base or API URL, a portal object, or request options containing either of those |
Returns
URL to the item's data REST end point, defaults to https://www.arcgis.com/home/item.html?id={item.id}
string
Function defined in common/src/urls/get-item-home-url.ts:12