ICreateServiceParams

Interface

A createParameters JSON object for a new service.

Properties

PropertyTypeNotes
boolean

Indicates if updating the geometry of the service is permitted.

string

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

string

Copyright information associated with the dataset.

string

A user-friendly description for the published dataset.

{ allowAnonymousToDelete?: boolean; allowAnonymousToUpdate?: boolean; allowOthersToDelete?: boolean; allowOthersToQuery?: boolean; allowOthersToUpdate?: boolean; enableEditorTracking?: boolean; enableOwnershipAccessControl?: boolean }

Editor tracking info.

boolean

Indicates whether the data changes.

The initial extent set for the service.

number

A double value indicating any constraints enforced on query operations.

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.

string

Description given to the service.

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.

string

The formats in which query results are returned.

string

Units used by the feature service

any

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

allowGeometryUpdates

optional
Interface Property
allowGeometryUpdates: boolean

Indicates if updating the geometry of the service is permitted.

capabilities

optional
Interface Property
capabilities: string

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

copyrightText

optional
Interface Property
copyrightText: string

Copyright information associated with the dataset.

description

optional
Interface Property
description: string

A user-friendly description for the published dataset.

editorTrackingInfo

optional
Interface Property
editorTrackingInfo: { allowAnonymousToDelete?: boolean; allowAnonymousToUpdate?: boolean; allowOthersToDelete?: boolean; allowOthersToQuery?: boolean; allowOthersToUpdate?: boolean; enableEditorTracking?: boolean; enableOwnershipAccessControl?: boolean }

Editor tracking info.

Type declaration

    hasStaticData

    optional
    Interface Property
    hasStaticData: boolean

    Indicates whether the data changes.

    initialExtent

    optional
    Interface Property
    initialExtent: IExtent

    The initial extent set for the service.

    maxRecordCount

    optional
    Interface Property
    maxRecordCount: number

    A double value indicating any constraints enforced on query operations.

    name

    Interface Property
    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
    Interface Property
    serviceDescription: string

    Description given to the service.

    spatialReference

    optional
    Interface Property
    spatialReference: 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
    Interface Property
    supportedQueryFormats: string

    The formats in which query results are returned.

    units

    optional
    Interface Property
    units: string

    Units used by the feature service

    xssPreventionInfo

    optional
    Interface Property
    xssPreventionInfo: any

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

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.