I have an issue that seems like it would be super simple to fix but I've just been stuck on this simple task so I'm hoping someone can help me out. I have a map that is shared through the classic map viewer onto our website and in the popup I can't get the year to just show up as a year- 2022. No matter what I've tried it keeps showing up as 2,022.00 this goes for other actual numbers fields as well. I would like to have the year just read as a text field so it doesn't edit it at all and the other fields I'd like to just have a whole number without the decimal points. These are in hosted feature layers, I've tried editing the source content and the layer on Arcgis online. What am I doing wrong?
Unless I am misunderstanding things completely (always a possibility!) this should be easy to do.
In Map Viewer Classic you should be able to set the decimal places and use of the 1000 separator after you add the hosted feature layer to your map. In the Content tab, open More Options (...) for the layer that has the field in question. Choose Configure Pop-ups, then Configure Attributes
Then make the appropriate adjustments, and save your map.
If you own the layer, you can also write those setting back to the feature layer using Save Layer