Skip to content
import PublishingInfo from "@arcgis/core/layers/support/PublishingInfo.js";
Inheritance:
PublishingInfoAccessor
Since
ArcGIS Maps SDK for JavaScript 4.25

FeatureLayer's publishing status while the layer is being published to the portal. This stops when the status has been determined or when the layer is destroyed. This is valid only for ArcGIS Online hosted feature services. The layer is automatically refreshed when the layer is done publishing.

See also

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.
PropertyTypeClass
declaredClass
readonly inherited
status
readonly
updating
readonly

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

status

readonly Property
Type
PublishStatus

Layer's publishing status while the layer is being published to the portal. The layer is automatically refreshed when the status goes from publishing to unavailable or published.

Possible Values

ValueDescription
unknownThe layer's publishing status is unknown at this point.
unavailableThe layer doesn't provide publishing information.
publishingThe publishing is in progress.
publishedThe layer is published and ready for consumption.
Default value
"unknown"

updating

readonly Property
Type
boolean

Indicates if the layer's status is still being updated.

Default value
false