editableLayers

Object detailing the available offline editing options.

Properties

Property Details
download When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved.
If property is present, must be one of the following values:
  • none
  • featuresAndAttachments
  • features
sync This string value indicates how the data is synced.
If property is present, must be one of the following values:
  • uploadFeaturesAndAttachments
  • syncFeaturesAndAttachments
  • syncFeaturesUploadAttachments

Example

{
  "editableLayers": {
    "download": "featuresAndAttachments",
    "sync": "syncFeaturesAndAttachments"
  }
}

Feedback on this topic?