ensureRequiredSiteProperties

Function

Enture that the site model has all the required properties and force them to be bumped to all the current values. Returns a clone of the model

  • ensureRequiredSiteProperties(model: IModel, username: string, isPortal: boolean) : any

Parameters

Parameter Type Default Notes
model Required IModel

Site Model

username Required string
isPortal Optional boolean false

Is this running in ArcGIS Enterprise

Returns

any

Function defined in sites/src/ensure-required-site-properties.ts:14