ICreateServiceParams

Interface

A createParameters JSON object for a new service.

Properties

Property Type Notes
allowGeometryUpdates Optional boolean

Indicates if updating the geometry of the service is permitted.

capabilities Optional string

Specify feature service editing capabilities for Create, Delete, Query, Update, and Sync.

copyrightText Optional string

Copyright information associated with the dataset.

description Optional string

A user-friendly description for the published dataset.

editorTrackingInfo Optional {
allowAnonymousToDelete:
boolean
allowAnonymousToUpdate:
boolean
allowOthersToDelete:
boolean
allowOthersToQuery:
boolean
allowOthersToUpdate:
boolean
enableEditorTracking:
boolean
enableOwnershipAccessControl:
boolean
}

Editor tracking info.

hasStaticData Optional boolean

Indicates whether the data changes.

initialExtent Optional IExtent

The initial extent set for the service.

maxRecordCount Optional number

A double value indicating any constraints enforced on query operations.

name string

Name of the service to be created. This name must be unique. If the name already exists, the operation will fail. ArcGIS Enterprise does not allow spaces or special characters other than underscores in a service name.

serviceDescription Optional string

Description given to the service.

spatialReference Optional ISpatialReference

All layers added to a hosted feature service need to have the same spatial reference defined for the feature service. When creating a new empty service without specifying its spatial reference, the spatial reference of the hosted feature service is set to the first layer added to that feature service.

supportedQueryFormats Optional string

The formats in which query results are returned.

units Optional string

Units used by the feature service

xssPreventionInfo Optional any

A JSON object specifying the properties of cross-site scripting prevention.


Interface defined in packages/arcgis-rest-feature-service-admin/src/create.ts:16