AnsweredAssumed Answered

FeatureLayer.typeIdField is readonly in 4.6

Question asked by tenhavej on Dec 18, 2017
Latest reply on Dec 20, 2017 by ubatsukh-esristaff

In version 4.6 of the JSAPI, the FeatureLayer.typeIdField property throws an exception when set, including when it's passed to the constructor of FeatureLayer.


FeatureLayer.typeIdField is not marked as read-only in the API documentation and the FeatureLayer.types property can still be manipulated, which leads me to believe that it's bug. So my question is:


Is this a bug or was the change intentional? If it was intentional, then why can FeatureLayer.types still be set?