I've come across some unexpected behaviour when editing the Alias of a field in the Units layer hosted on AGOL which I'm using in a Space Planner and Indoors Viewer app.
The layer has several equipment fields which I configured in ArcPro so that meeting rooms in the modelled building could be filtered. When the fields were created I set their domains to be 'DOM_EQUIPMENT' and gave unit features appropriate values. This was then uploaded/synced on AGOL and everything was working fine.
I then noticed that the Indoors Viewer app was reflecting the alias of these fields, which didn't have spaces. So I went to the layer on AGOL and edited the field alias to include spaces (e.g. 'TrainingPCs' to 'Training PCs'). However this seemed to 'break' the field. It no longer shows up on the equipment filter for meeting rooms. I had a look at the data in Pro and for some reason the Domain has been edited awway from 'DOM_EQUIPMENT' (see image below). The only field still working is the one which is still set to the original domain.
All I did was change the alias so I have no idea why this resulted. Is this a bug? I now need to delete the fields and redo which is not ideal.
Hello @KatieSelfEd .. the change in domain name when editing directly in ArcGIS Online is a known behavior. You can follow the documented steps to make it work.
Hi @GauravJobanputra - many thanks for the reply. I can see that explorting and replacing would work but I'm not sure why changing the alias results in this behaviour. It seems a bit long-winded to have to reupload data simply because I tweaked an entirely separate field. Are there any plans to change this?
I found this problem too, but didn't realise it was 'known behavior'. Surely this is a bug that needs addressing? It's seems crazy that you can't edit an alias without breaking the domain used by the particular attribute.