AnsweredAssumed Answered

Subtype defaults honored in Collector but not AGOL WebMap?

Question asked by jschwartz@fcgov.com_fcgov on May 30, 2018

In the webmap on desktop if I change a feature's subtype, then the symbol changes to the new subtype, but none of the default values of the new subtype are populated in the feature's attributes.

 

However, when I perform the exact same edit in Collector, I'm greeted with a message asking me if I'd like to change the feature's attributes to the new subtype defaults.

 

What can I do to get the webmap on desktop to behave the same as Collector?

 

Edit - I found this technical article:

Problem: Changing subtype fields does not populate the expected fields in ArcGIS Online 

This is a known limitation of the Javascript API. The workarounds are either to:

1. Delete/Create new features

2. Have the users input the default values from domains (which completely obviates the use of subtypes and negates any attempt at data integrity)

3. Edit the data using the Data tab.

 

Workaround #1 is really the only option here...

Outcomes