I have a feature service with subtypes and default values. They are not functioning in arcgis.com viewer. Subtype-related domains do not populate until after a feature subtype is edited and saved (and then only sometimes). Default values are incorrect for all fields--defaults in viewer are just the first value in the domain.
Thanks for looking into this. First, yes this is just a test service.
The workflow I am developing will not include adding new features, but just editing the conditions of the existing features. You're right that when you add a new feature, the subtypes, domains and defaults work. But when I select an existing feature there is some strange behavior:
If I edit an existing feature after adding a new feature, the defaults from the new feature's values fill the existing feature (ignoring the subtype category), so even if I select "Lot" for the existing feature, if the new feature I just created was a "structure," the domains and defaults for structure appear.
If I start an editing session by editing an existing feature, no domains appear for fields related to subtypes.
I would like to edit an existing feature where once I choose the subtype, the defaults are automatically populated, including if I am changing the subtype from lot to structure. Does this make sense?