getContentHomeUrl

Function

Computes a URL to the "Content" tab in the AGO Home app for a given portal URL string, IPortal, IHubRequestOptions or IRequestOptions object

  • getContentHomeUrl(portalUrlOrObject: string | IPortal | IHubRequestOptions | IRequestOptions) : string

Parameters

Parameter Type Default Notes
portalUrlOrObject Optional string | IPortal | IHubRequestOptions | IRequestOptions

a portal URL string, IPortal, IHubRequestOptions or IRequestOptions object

Returns

a URL string for the AGO Home for the given portalUrlOrObject parameter

string

Function defined in common/src/urls/getContentHomeUrl.ts:11