I'd like to check to see which version has been specified for a feature layer, but haven't found the property or method to identify this. Does anyone know where it is?
the featureLayer has gdbVersion property. But, it would be undefined if you have not used setGDBVersion()
That works perfectly, and I see it populated in the console once I've run setGDBVersion().
I'm going to try using
to remove the set version property and return it back to the default when necessary. I assume since it doesn't exist in the original state that having it there an null would cause problems.
No, deleting the gdbVersion will not be useful. You need to use setGDBVersion method only. As there are dependent properties / activities that needs to be done.
This will work.
The missing (from the docs) gdbVersion property will be doc'd in the next release (3.14) - for both FeatureLayer and ArcGISDynamicMapServiceLayer. Thank you for pointing out the missing doc.
Retrieving data ...