getPortalBaseFromOrgUrl

Function

Given an org url, get the portal base url

i.e. https://myorg.maps.arcgis.com will return https://www.arcgis.com

  • getPortalBaseFromOrgUrl(orgUrl: string) : string

Parameters

Parameter Type Default Notes
orgUrl Required string

Returns

string

Function defined in common/src/urls/getPortalBaseFromOrgUrl.ts:9