Frequently asked question
Note: It is possible to change an integer field type to another field type using the ArcGIS REST APIs. However it has its own limitations and issues so it is not a recommended workflow. Only field properties can be modified. Refer to ArcGIS Rest APIs: Update Definition (Feature Layer) for more information.
No, it is not possible to change the data type of a field after the field is created in ArcGIS Online. Data types can only be selected during the time of the field creation. Alternatively, create a new field with the preferred data type and populate the existing field value in the new field using an Arcade expression. The workaround below provides the steps to add a new field, select the data type, and populate the field values in ArcGIS Online.
$feature.<FIELD_NAME>


The images below show the values of the Age field populated in the newly created field (Age_New) with the desired data type selected.


Article ID: 000031634
Get help from ArcGIS experts
Start chatting now