You can alter certain settings on a hosted feature (or table) layer, while others are set on individual layers in the hosted feature layer. The following sections describe how the layer owner, or an administrator, can manage the settings for a hosted feature layer and the layers it contains.
Tip:
When you enable the following settings, anyone who can access your hosted feature layer can use the functionality the settings impart. Take this into consideration when you share your layer.
- Enable Sync (required for offline use and collaboration)—Use a hosted feature layer offline or in a collaboration.
- Allow others to export to different formats—Export data from the hosted feature layer.
- Enable attachments—Add attachments to features in hosted feature layers.
Also be aware that when you share a hosted feature layer with a shared update group, group members can manage many of the settings on the layer.
Changing any of the settings or details described below alters the hosted layer's schema. The Schema updated date that is present on the Overview and Data tabs of the hosted feature layer or hosted table item page updates when the schema changes. Adding data to the feature layer doesn't alter the layer's schema, but it does edit the layer's contents, which updates the Data updated date.
Rename layers
You can change the name of hosted feature layer items and layers inside hosted feature layers.
Changing the layer names in a hosted feature layer does not affect the names in any dependent hosted layers or views. Similarly, changing the dependent layer's item name or the names of the layers in the dependent layer does not change the names in the source hosted feature layer.
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Rename the layer.
- To rename the hosted feature layer, click the Edit button next to the layer name on the Overview tab.
- To rename a sublayer, open its item page by clicking the layer name under the Layers list on the Overview tab, and click the Edit button next to the sublayer name.
- Type a new name for the layer and click Save.
Manage settings for editing
As the owner of a hosted feature layer, or an administrator, you can alter settings on the feature layer that affect who can edit and what edits they can make. Other factors also affect who can edit. See Manage hosted feature layer editing for information about all the settings and factors that affect who can edit a hosted feature layer.
There are two edit settings that use a change log that you can manage by trimming older entries, as described below.
Manage the size of the change log
When you enable the options Enable Sync (required for offline use and collaboration) or Keep track of changes to the data (add, update, delete features) on your hosted feature layer, ArcGIS Online stores information about data changes and offline versions in a change log. This change log grows as changes continue to accumulate. To avoid credit charges associated with a large change log, you can trim it.
For each feature layer that has either of these options enabled, you can specify a number of days' worth of changes to retain. Any changes made or versions taken offline or shared in a collaboration that are older than the number of days you specify will be removed.
Caution:
Do not trim the change log if you have unsynchronized collaborations or offline edits that were shared in a collaboration or taken offline during the time period that will be trimmed from the table. For example, if you shared an editable feature layer in a collaboration 100 days ago, and edits from that collaboration have not been synchronized, you can trim records older than 180 days, but do not trim records older than 30 or 90 days. Similarly, if the feature layer was taken offline for editing 40 days ago and not synchronized, you can trim records older than 90 or 180 days, but do not trim records older than 30 days.
In addition, if the layer participates in an offline map area or areas, consider when the layer's associated download package was last updated. To avoid re-creating your map areas, choose a retention period that includes the date that the download package was last updated. For example, if the download package was updated 38 days ago, do not trim records older than 30 days, because that will prevent the map area from updating and synchronizing when you download it.
If all options that use the log file are disabled—for example, both Enable Sync (required for offline use and collaboration) and Keep track of changes to the data (add, update, delete features) are enabled and you disable both, or you have only Enable Sync (required for offline use and collaboration) and you disable it—all records are removed from the log file.
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Click the Settings tab.
- Scroll to Feature Layer (Hosted) Settings and click Manage change log.
The Manage change log window appears.
- Use the drop-down list to specify the number of days' worth of logs to retain.
Log entries that are older than the number of days you specify will be removed from the log.
- Click Trim the change log.
Allow data exports
As the owner of a hosted feature layer or an administrator, you can export from any layer to a comma-separated values file (.csv), Microsoft Excel file, shapefile, file geodatabase feature class, GeoJSON file, feature collection, .kml file, or Open Geospatial Consortium (OGC) GeoPackage file. You can also configure a hosted feature layer to allow others to export data from the layer when they access it in ArcGIS Online.
Tip:
If you publish a hosted feature layer from ArcGIS Pro, you can configure the feature layer to allow data exports when you publish.
When users other than the owner or administrator export from a hosted feature layer view that has field or feature definitions applied, the exported file only contains those fields or features that the definition allows. When the owner or administrator exports, the definitions are not applied and the exported file contains all fields and features.
Follow these steps to allow others to export from a hosted feature layer or hosted feature layer view when they access the layer in ArcGIS Online:
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Click the Settings tab.
- Scroll to the Feature Layer Settings section.
- Click Allow others to export to different formats and click Save.
Now other members of your organization can export from the hosted feature layer.
Note:
This setting does not affect others' ability to export data from the underlying service. Even if you do not enable this export setting on your feature layer, anyone who accesses this layer in other clients—such as ArcGIS Pro or custom apps—can export data from it.
Allow attachments
You can allow editors to attach images and other files to individual features in a layer in a hosted feature layer. This allows you to associate documentation or photos to specific, relevant features. For example, a code compliance officer can attach a photo of the code violation for a specific address point, or a building inspector can include a PDF of a permit for a building feature.
Each hosted feature layer view inherits the attachment setting of the hosted feature layer from which it was created. By default, all view users can see the attachments inherited from the hosted feature layer. To control who has access to these attachments, you can hide the attachments in the hosted feature layer view.
Each file you attach to a feature can be a maximum of 10 MB. To attach files larger than 10 MB, you can use the Upload Part and Add Attachment operations from ArcGIS REST API to do a multipart upload.
For a list of supported file types you can attach, see Edit tables.
Follow these steps to allow people to attach files to features in a layer in your hosted feature layer:
- Enable editing on the hosted feature layer.
If you do not enable editing, users cannot add attachments to the layer.
- While still signed in to your ArcGIS Online account, open the feature layer item page by clicking the layer on the My content tab of the content page.
- Click the name of the layer in the Layers list on the Overview tab to open its item page.
- Click the Enable Attachments toggle button.
Now, when others edit the layer, they can attach files to individual features.
If you decide you no longer want files to be attached to your layer, open the sublayer's page and disable the Enable Attachments toggle button. Be aware, though, that this removes all existing attachments from the layer and prevents people from adding more attachments.
Hide attachments in views
Hide attachments in hosted feature layer views if a subset of users need access to the feature attributes, but they should not see or do not require access to the attachments.
For example, if the attachment contains sensitive information that only a few organization members should see, share the hosted feature layer with a group that contains those few members. Create a hosted feature layer view from the layer, hide the attachments, and share the view with a larger audience.
Follow these steps to hide attachments on individual layers in a hosted feature layer view:
- Sign in to the organization as the owner of the hosted feature layer view or as an administrator.
- Open the item page for the hosted feature layer view.
- Locate the Layers list on the Overview tab and click the layer that has attachments you want to hide.
- Click the Hide attachments toggle button to prevent users of the hosted feature layer view from accessing the attachments on that layer.
- Repeat steps 2 and 3 for each layer that has attachments you don't want users to access through the view.
If you decide view users do need access to the attachments for one or more of the layers in the view, click the Show attachments link under the applicable layers on the Overview tab of the hosted feature layer view's item page.
Optimize drawing of complex lines and polygons
If the hosted feature layer includes line or polygon layers that contain a large number of vertices and is often viewed at small or medium scales, you can optimize these layers to improve drawing times in web clients. For example, a good candidate for optimization would be a layer that contains ZIP Code boundaries for a state or large region. You may want to view the ZIP Codes at smaller or medium scales to view all of the ZIP Codes at one time, and you also may want to zoom in to view detailed boundaries at large scales. Optimizing a layer such as this increases performance at smaller and medium scales while maintaining the level of detail at larger scales.
Optimizing layers uses additional storage space, and layers cannot be edited until the layer optimization process completes. The feature storage required for optimized layers will increase; however, performance improvements can be substantial for web clients. If you decide you don't need the improved drawing times, you can disable the optimization. This immediately removes the extra storage (decreases the hosted feature layer size), and you will not incur further costs for the additional storage. You can see the size of the hosted feature layer on the Overview tab of the layer's item page.
Note:
Hosted feature layer views inherit the drawing optimization setting of the hosted feature layer from which they were created; you cannot configure this setting independently on views. To enable drawing optimization on views that contain lines or polygons, change the setting of the hosted feature layer from which you created the view.
If a layer in the hosted feature layer contains a polygon or line feature that includes more than 400,000 vertices, drawing optimization will be enabled by default.
To get an idea of display performance improvements, use the following links to compare the same layer of all county boundaries in the United States. Open the layers in two windows of the same browser, add each to Map Viewer or Map Viewer Classic, zoom in to the layers, and pan around. Although performance will vary by network, you will see that drawing performance is significantly better on the optimized layer.
Without drawing optimization on the layer, the hosted feature layer is 136 MB. After the layer is optimized, the hosted feature layer is 205 MB.
Optimization is most useful for line or polygon layers that include features that contain many vertices.
Keep in mind the following when editing or overwriting optimized layers:
- If you edit or synchronize edits to the layer while optimization is enabled, the edits are automatically optimized.
- When the feature layer is editable in the map, the layer is loaded without optimization to ensure the full level of data detail is present for editing.
- If you don't need to edit the data in a specific map, disable editing for the layer in the web map. This allows you to take advantage of the drawing optimization in your view-only map, but the layer can still be edited as necessary in other maps or apps.
- Overwriting the layer disables optimization. You'll need to follow the steps below to optimize drawing times on the layer again.
Follow these steps to optimize drawing times for a line or polygon layer:
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Click the Settings tab.
- Scroll to the Optimize Layer Drawing section.
The layers in the hosted feature layer that currently have drawing optimization enabled are listed.
- Click Optimize layers.
The Optimize layer drawing dialog box appears.
- Check the box next to the layer you want optimized for drawing and click Update.
The Optimize layer drawing dialog box closes and the update status is shown on the Settings tab.
The optimization process can take several minutes. Editing is temporarily unavailable on the layer until optimization completes.
If you later decide a layer isn't being used much and does not require drawing optimization, you can disable it. To disable drawing optimization, repeat steps 1 through 3. In step 4, uncheck the layer for which you want to disable drawing optimization and click Update.
Enable time settings
If you have a hosted feature layer that records different information for the same location based on a date and time, you can enable time settings on layers in a hosted feature layer. After time settings are configured and you add the hosted feature layer to a map, you can configure time settings on the map and see what happened at a specific time or visualize patterns and trends that emerge as the data changes over time.
Overwrite hosted feature layers
You can replace all the data in a hosted feature layer that you published from one of the following file types:
- File geodatabase (zipped)
- Shapefile (zipped)
- GeoJSON file
- Microsoft Excel file
- .csv file
- OGC GeoPackage file
- Service definition file (.sd)
To overwrite the hosted feature layer with the contents from an updated file, upload an updated source file. You must use the same type of source file, and the schema in the source file must be the same as when you published the hosted feature layer. If the hosted feature layer was published from a file on a cloud drive, the updated file must be on the cloud drive.
For example, if the hosted feature layer is public and you don't want it to be editable, or if another department regularly sends you data updates in a shapefile, you can overwrite the data in the hosted feature layer using the updated file. This maintains the layer's URL, the properties that you set on the Overview and Settings tabs of the hosted feature layer's item page, symbology, and pop-up configurations. However, because overwriting the hosted feature layer republishes the service and overwrites every layer in the hosted feature layer, field settings such as unique value, default values, and disallowing null values are not preserved, and you must reset them after you overwrite the hosted feature layer.
When you overwrite the data from a local source file, both the file and hosted feature layer data in ArcGIS Online are replaced with the data from the updated source file. If the source is a shapefile with metadata or a file geodatabase that contains feature classes with metadata, ArcGIS Online adds or replaces the layer-level metadata in the hosted feature layer. If you published the hosted feature layer from a cloud drive, the data stays in the cloud drive but the data in the hosted feature layer is replaced.
If the option to overwrite the feature layer isn't available, the hosted layer cannot be overwritten due to one of the following conditions:
- It was published from a client other than the ArcGIS Online website. For example, if you published the hosted feature layer from ArcGIS Pro, you must overwrite the service from ArcGIS Pro.
Note:
When you overwrite hosted feature layers from ArcMap, the service definition originally created with the web layer must exist in your ArcGIS Online organization.
- It was published from a .csv file prior to March 2014.
- Synchronization is enabled on the hosted feature layer.
- It's a hosted feature layer view rather than a hosted feature layer. To update the data in both the hosted feature layer view and hosted feature layer from which it was created, overwrite the hosted feature layer and the updates will be reflected in the view.
- You enabled data change tracking on the layer.
- You deleted the associated source file.
- You opened the Update layer window from a sublayer page or from the Data tab of the hosted feature layer item.
- You're not the hosted feature layer owner or a member of the default administrator role.
Caution:
- Any edits that were made to the hosted feature layer data are replaced by the data from the updated source file. If the hosted feature layer contained attribute indexes and you overwrite using source data that does not have attribute indexes, you must re-create the attribute indexes on the hosted feature layer.
- The same fields and feature classes (in the case of file geodatabases) must be present in the updated file as were in the original file. For example, if you delete a feature class from the file geodatabase, or add a field to the shapefile or feature class, do not overwrite.
- The file name must be the same as the original file name. If you upload a file geodatabase, the feature class names must be the same as they were in the original file you uploaded.
- If you overwrite and the schemas and feature class names do not match, the feature layer and web maps that use the feature layer may not function as expected. If the source data schema has changed, or if you want to preserve the edits made to the data in the hosted feature layer, load the file as a new item and publish a new layer instead.
- The data source and hosted layer must be owned by the same account. If you change the owner of one, change the owner of the other. If you do not, you can't overwrite the hosted layer.
- If you used addresses or places to locate features when you first published the layer, overwriting the layer geocodes all the addresses or places in the updated file. This may use credits depending on how your organization is configured. Talk to your ArcGIS Online administrator if you have questions about which service is used to geocode locations in your organization. The locator selected when you initially published the layer is automatically used when overwriting.
- If you altered the details of individual sublayers, those edits will be lost when you overwrite the hosted feature layer from a file.
- The feature layer will be unavailable to other users for a brief time while the layer is overwritten.
Follow these steps to overwrite a hosted feature layer from a file:
- Sign in to the organization as the owner of the hosted feature layer or as a member of the default administrator role.
- Open the item page for the hosted feature layer.
- Click Update Data on the hosted feature layer item's Overview tab.
The Update layer window appears.
- Choose Overwrite entire feature layer.
- If the hosted feature layer was published from a local file, click Next to specify a file on disk. Use one of the following methods to choose the file and overwrite the hosted feature layer's contents:
- Click Your device, browse to and select the file, and click Open.
- Drag the file from your desktop or File Explorer onto the Update data window.
- If the hosted feature layer was published from a file on a cloud drive, click Sign in and overwrite.
As soon as you connect to the cloud drive, ArcGIS Online automatically overwrites the hosted feature layer with content from the source file on the cloud drive.
Add and update features from a file
You can use an updated file to add features to a layer in an existing hosted feature layer if you are any of the following:
- The owner of the hosted feature layer
- An organization administrator
- A member of a shared update group with which the hosted feature layer is shared
This allows you to publish initial data, or even an empty hosted feature layer, and later add more data as it becomes available without having to overwrite the entire hosted feature layer. For example, if you have a number of employees who do inspections in the field and they gather that information in a .csv file or a custom app that writes to a shapefile, you can take the file from each inspector at the end of the day and update the hosted feature layer with the new data.
If the update file contains changes to features that are already published, you can also use the input file to update existing features. This requires that the layer and the file you use to load updates both contain a field of unique values that ArcGIS Online can use to identify the feature to update. You can define a field in the sublayer of a hosted feature layer as unique from the Data tab of the layer's item page. Then, when you update the layer, ArcGIS Online can use that field as an identifier.
Caution:
You must ensure that the field values in the update file and the layer correctly and uniquely identify the feature to update. If the values do not, you can lose data when an update overwrites attributes for an existing feature. Adding and updating features fails if you update results with nonunique values in a field you have identified as unique.
When you publish from a .csv or Microsoft Excel file that has field names with spaces, the field names in the hosted feature layer have underscores inserted between words. When you add or update, you must insert underscores in the field names in the file; otherwise, field names will not be identical.
You can use the following file formats to add or update data:
- Shapefile (zipped)
- CSV file (.csv)
- Microsoft Excel file
- File geodatabase (zipped)
- GeoJSON file (.geojson)
- OGC GeoPackage file
Note:
- The update operation does not delete features. To delete features using an uploaded file, overwrite the layer.
- If the hosted feature layer is enabled for offline editing, you can only add features; you cannot update features.
- Adding or updating features does not add or update attachments on the hosted feature layer.
- You can add or update big integer, date only, time only, or timestamp offset fields from file geodatabases. To add or update big integer, date only, time only, or timestamp offset fields from GeoJSON, Excel, or .csv files, the field values must meet the following requirements:
- Integer values that fall outside the range of -2147483648 to 2147483647 will be interpreted as big integers.
- To be interpreted as date only, values must be in the format YYYY-MM-DD or DD/MM/YYYY.
- To be interpreted as time only, values must be in the format hh:mm:ss or hh:mm:ss.sss.
- To be interpreted as timestamp offset, values must be in the format YYYY-MM-DDThh:mm:ss±OffsetFromUTC.
For examples of date and time values, see Date and time fields in ArcGIS Online.
If the hosted feature layer does not contain these field types, you can map them to other types, such as a double for big integer fields or a string for date only and timestamp offset fields.
Follow these steps to upload a file to add features to or update features in a hosted feature layer:
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Click Update Data on the hosted feature layer item's Overview tab.
The Update data window appears.
- Choose one of the following options and click Next:
- Add features—Inserts new features from the file to the feature layer or inserts new rows to a table layer.
- Update features—Uses the values in the file to update attribute values for existing rows in the layer. If the layer is a feature layer, you can also update feature locations.
- Add and update features—Performs both of the actions described above.
Note:
Do not use the object ID field or feature ID (FID) field as the unique identifier when you update features.
- If the hosted feature layer contains more than one layer, choose the layer to add to or update and click Next.
- Use one of the following methods to specify the updated file:
- Click Your device, browse to and select the file, and click Open.
- Drag the file from your desktop or File Explorer onto the Update data window.
- If the file is a zipped file, choose the file format and click Next.
- Specify which fields in the file correspond to which fields in the layer and click Next.
- If you are updating data, define which fields in the layer and the file uniquely identify each feature or row and which can be used to ensure the correct data from the file updates the correct feature or row in the layer.
- If the file contains date values that store time in a time zone other than UTC, choose that time zone from the Time zone selection drop-down menu.
- If you are updating the data in a feature layer, choose one of the following options:
- Attributes only—Updates nonspatial attribute values only.
- Geometries and attributes—Updates both spatial and nonspatial values.
Note:
If you chose the Add and update features option, added features always contain both attributes and geometries.
- If you are adding features or rows only (not updating), click Add and complete to append the features or rows. If you are updating only or updating and adding features or rows, click Update and complete.
The size of the layer and which options you chose will affect the time it takes to apply updates. As soon as this process completes, the updated layer is available in maps, scenes, and dependent WFS layers and hosted feature layer views.
Rebuild the spatial index
Spatial indexes improve the performance of spatial queries, such as drawing features on a map or searching for features. If you or other editors add features to the layer that are outside the initial extent of the layer, the spatial index becomes outdated and you may need to rebuild it. For example, if your hosted feature layer contained features in only one city and you later append data that adds features across the country, you should rebuild the spatial index for that layer.
In general, if you find the layer is drawing more slowly than it used to and you know a large number of features have been added to the layer outside the initial extent, rebuild the spatial index. Spatial indexes are defined on the spatial field of the feature layer.
Follow these steps to rebuild the spatial index on a layer:
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Click the Settings tab.
- Scroll to the Manage indexes section.
- Ensure the Spatial indexes tab is selected and click Rebuild Indexes.
- Check the box next to the sublayer for which you want to re-create the spatial index and click Rebuild.
Note:
While ArcGIS Online re-creates the spatial index, users of the layer will likely see slower performance. If possible, rebuild spatial indexes when the layer is not in use.
Add indexes to attribute fields
Indexes can decrease the time it takes for queries, such as searches or filters, to find the data requested.
If you find that it takes a long time to get results when you filter or apply a definition based on the nonspatial attributes in a table or layer, you can add an index to the field or fields to possibly improve query performance.
You can add attribute indexes to any of the field types ArcGIS Online supports. If filters or definitions need to find specific words or phrases in a string field, you can add a full-text index.
If users are searching or querying a single field at a time, define an index for that one field. If a single search or query runs against multiple fields, you can define an index on all the fields that are frequently queried together.
It is not recommended that you add indexes to fields that are edited frequently, because it can take longer to update a field that has an index defined on it. There is also no point in adding an index for fields that no one will query.
Indexes use a small amount of space in the feature database and, as a result, may use credits.
Add an attribute index
Follow these steps to add an attribute index to a field or fields in a layer or table in a hosted feature layer:
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Click the Settings tab.
- Scroll to the Manage indexes section.
- Click the Field indexes tab.
- Choose Attribute and click Next.
- Select the sublayer or table to which the index will be added.
- Select the field to which the attribute index will be added and click Add to list.
To define an index that includes multiple fields, select the additional field and click Add to list again.
You can include up to 16 fields in an attribute index. An index defined on multiple fields is useful for queries that query all the fields at once.
- In nearly all cases, leave the Ascending option set.
You would create a descending order index if the queries that run against the fields are descending order queries.
- If the field to which you are adding the index contains unique values and will always contain unique values, check the box next to Field values are unique to create a unique index.
If there are multiple fields in the index, the combination of values across the multiple fields must be unique if you check the Field values are unique check box. As long as one of the multiple fields contains unique values, the combination of values across all the fields in the index will be unique.
- Click Create index.
The amount of time it takes to create the index depends on how many attributes or rows are in the layer or table.
The index is created and appears in the list of indexes on the Field indexes tab.
Add a full-text index to string attribute fields
Follow these steps to add a full-text index to a string field in a layer or table in a hosted feature layer:
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Click the Settings tab.
- Scroll to the Manage indexes section.
- Click the Field indexes tab.
- Choose Full text and click Next.
- Select the sublayer or table to which the index will be added.
- Select the string field to which the full-text index will be added and click Add to list.
The field you specify can participate in only one index.
- Click Create index.
The amount of time it takes to create the index depends on how many attributes or rows are in the layer or table.
The index is created and appears in the list of indexes on the Field indexes tab.
Delete attribute or full-text indexes
If you find that the added index has not improved query performance or, worse still, has decreased query or editing performance, you can delete the index.
You can also delete an index if you decide you need an index with a different definition—for example, you want to add a field to the index because two fields are frequently queried together. In that case, you must delete the existing index and create another index that includes all the fields you need in the index.
Note:
Other actions that you perform on the data outside this interface also create indexes. For example, when you configure search for a web map's contents, indexes are created on the layers in the web map. Similarly, when you add a filter to a layer in a web map, Map Viewer adds indexes to fields in the layer.
ArcGIS Online also creates indexes on editor tracking fields, the layer's object ID and feature ID. The delete operation is not available for these indexes.Follow these steps to delete an attribute or full-text index from a layer or table in a hosted feature layer:
- Sign in to the organization as the owner of the hosted feature layer or as an administrator.
- Open the item page for the hosted feature layer.
- Click the Settings tab.
- Scroll to the Manage indexes section.
- Click the Field indexes tab.
- Select the layer or table from which to remove the index.
- Click the Delete button next to the index to remove it from the layer or table.
Change the default z-value
When you create a hosted feature layer in ArcGIS Online that has z-values enabled, the z-values are set to 0 by default. When you publish data from ArcGIS Pro that has z-values, you can specify a different default value. In both cases, you can alter the default z-value for each sublayer in a hosted feature layer from the sublayer's item page.
- Sign in to the organization.
To update the default z-value, you must be the layer owner, an organization administrator, or a member of a shared update group with which the feature layer has been shared.
- Open the item page for the hosted feature layer.
- On the Overview tab, click the sublayer to open its item page.
- In the Geometry options section, click the Edit button and type a new default z-value.
Z-values must be provided in the units that the feature service uses. Units are shown in parentheses. In the example above, the units are decimal degrees (dd).
You can alter the default z-value only if z-values are enabled for the sublayer. You cannot enable z-values for a sublayer if they were not present when the hosted feature layer was created.
- Click Save.