getSiteItemType

Function

The item type depends if the app is running in ArcGIS Enterprise vs AGO

  • getSiteItemType(isPortal: boolean) : string

Parameters

Parameter Type Default Notes
isPortal Required boolean

Is this running in Enterprise?

Returns

string

Function defined in sites/src/get-site-item-type.ts:6