Object detailing the available offline editing options.

Referenced by: offline


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.
Valid values:
  • features
  • featuresAndAttachments
  • none
sync This string value indicates how the data is synced.
Valid values:
  • syncFeaturesAndAttachments
  • syncFeaturesUploadAttachments
  • uploadFeaturesAndAttachments

editableLayers Example

  "download": "featuresAndAttachments",
  "sync": "syncFeaturesAndAttachments"

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