import PublishingInfo from "@arcgis/core/layers/support/PublishingInfo.js";const PublishingInfo = await $arcgis.import("@arcgis/core/layers/support/PublishingInfo.js");- Inheritance:
- PublishingInfo→
Accessor
- 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
| Parameter | Type | Description | Required |
|---|---|---|---|
| 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.
| Property | Type | Class |
|---|---|---|
declaredClass readonly inherited | ||
status readonly | | |
updating readonly | |
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
| Value | Description |
|---|---|
| unknown | The layer's publishing status is unknown at this point. |
| unavailable | The layer doesn't provide publishing information. |
| publishing | The publishing is in progress. |
| published | The 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