offline

Use if working with offline maps.

Referenced by: applicationProperties

Properties

Property Details
connectedOnlineLayers[] List of layers which should be included in an offline map as connected online layers.
editableLayers Object detailing the available offline editing options.
offlinebasemap Object detailing offline basemap options.
readonlyLayers Object indicating what to do with attachments in read-only layers.
syncDataOptions An integer value that corresponds to syncDataOptions for Create Replica. This value determines what additional capabilities will be included when going offline for a feature layer (e.g. contingent values, annotation) that are not included by default. This value applies to all feature layers in the webmap, however if the requested capability is not supported or present in the feature layer it will be ignored.

offline Example

{
  "syncDataOptions": 144,
  "editableLayers": {
    "download": "featuresAndAttachments",
    "sync": "syncFeaturesAndAttachments"
  },
  "offlinebasemap": {
    "referenceBasemapName": "LocalBasemap.tpk"
  },
  "readonlyLayers": {
    "downloadAttachments": true
  }
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close