getPageItemType

Function

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

  • getPageItemType(isPortal: boolean) : string

Parameters

Parameter Type Default Notes
isPortal Required boolean

Is this running in Enterprise?

Returns

string

Function defined in packages/sites/src/pages/get-page-item-type.ts:6