Enums.OnlineOnlyServicesOption enumeration

The OnlineOnlyServicesOption can be one of:

ConstantDescription
Enums.OnlineOnlyServicesOptionExclude(0) Online layers and tables that cannot be taken offline will be excluded when taking a map offline.
Enums.OnlineOnlyServicesOptionInclude(1) Online layers and tables that cannot be taken offline will be included when taking a map offline and will continue to reference the online service.
Enums.OnlineOnlyServicesOptionUseAuthoredSettings(2) A given layer or table will be taken offline, included as online content, or excluded according to the settings in the web map. When a web map is created, the author has the option to pre-select which layers should remain online. This can include:
  • Choosing to leave offline-enabled layers online (for example because they contain data that is frequently updated).
  • Choosing whether online-only layers should be included in the offline map or not.

If no settings are provided in the web map, the default behavior will be to omit any online-only layers or tables from the offline map. This matches the Enums.OnlineOnlyServicesOptionExclude option.

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