Description
In ArcGIS Online, saving the settings of a hosted feature layer is unsuccessful when the 'Enable Sync (required offline use and collaboration)' check box is checked.
Cause
The hosted feature layer is published from ArcGIS Pro 3.2, and the attribute table of the layer contains a big integer, time only, date only, timestamp offset, or 64-bit object identifier (object ID) as the field data type. Refer to ArcGIS Pro: New field data types for more information. By design, a layer or a stand-alone table containing these field data types does not honor the sync capability in ArcGIS Online. Publishing a web map or overwriting a web layer from ArcGIS Pro to ArcGIS Online with the layer containing the data types except for the 64-bit object ID issues the warning shown below.
Solution or Workaround
Use one of the following solutions to solve the issue.
Create a new field with a new data type in ArcGIS Pro
- Open the ArcGIS Pro project.
- In the Contents pane, right-click the feature layer, and click Attribute Table.
- In the attribute table, click the Add button to add a new field.
- In the fields view, specify the Field Name, Alias, and Data Type details for the new field. Refer to the table below to select a suitable data type to replace the existing data type.
Existing data type | New data type |
Big Integer | Float or Integer |
Time Only | Date, Integer, or String |
Date Only | Date, Integer, or String |
Timestamp Offset | Date, Integer, or String |
- On the ribbon, click Fields. In the Manage Edits group, click Save to save the new field.
- In the attribute table, copy the field values from the existing field to the new field. Refer to How To: Copy field values to another field in ArcGIS Pro for instruction.
- Right-click the old field, and select Delete to delete the field.
- In the Delete Field dialog box, click Yes.
- Overwrite the hosted feature layer in ArcGIS Online. Refer to ArcGIS Pro: Overwrite a web feature layer for instructions.
Downgrade the object ID from 64-bit to 32-bit in ArcGIS Pro
- Open the ArcGIS Pro project.
- Downgrade the object ID from 64-bit to 32-bit. Refer to How To: Downgrade from 64-bit to 32-bit object ID in ArcGIS Pro.
- In the Contents pane, right-click the old feature layer with 32-bit object ID, and select Remove to remove the feature layer.
- Overwrite the hosted feature layer in ArcGIS Online. Refer to ArcGIS Pro: Overwrite a web feature layer for instructions.