Select to view content in your preferred language

When publishing a feature class from ArcPro to ArcGIS Online, how to preserve attribute field number of decimal places?

182
3
2 weeks ago
ScottHansen__MDP_
Frequent Contributor

I am attempting to publish a point feature class from ArcPro to ArcGIS Online, and in ArcPro, the number of decimal places to display is set two decimal places, or to the hundredths, however, when it gets published to ArcGIS Online, the numbers are padded with 4 zero's, out to the ten thousandths place. I assume the field display settings in ArcPro should ensure that when the data is uploaded to ArcGIS Online, the displayed data remains the same as before publication. Any help is appreciated.

0 Kudos
3 Replies
EmilyGeo
Esri Regular Contributor

Hi @ScottHansen__MDP_ , 

You can format the field in Map Viewer. With the layer selected, click to open Fields, select the field, and configure the settings: 

EmilyGeo_0-1763424117597.png

 

0 Kudos
ScottHansen__MDP_
Frequent Contributor

I am aware of the configuration process in ArcGIS Online, but I am wondering if there are certain field types or settings within in ArcPro that will ensure the number of decimal places remains once publishing to AGOL.

0 Kudos
EmilyGeo
Esri Regular Contributor

When you publish a feature class, the underlying numeric data type is preserved, but the display format from ArcGIS Pro is not. The best practice at this time would be to configure the field properties in ArcGIS Online, then save that to the layer. That way anytime you add the layer to a map, it will have those properties set. 

EmilyGeo_0-1763499712361.png

 

0 Kudos