I have a gdb with pleanty feature classes with unique schema and I use SchemaScanner and Dynamic gdb to save the layers. Feature layers saved in the gdb have correct schema but the order of the columns is wrong, it looks like the new feature layers have the columns ordered alfabeticaly
Page 1 / 1
Just to be sure, you read from gdb and you write to gdb? Why not use the FeatureReader and it’s Schema Feature? Because then the attribute order is kept original.
I can confirm the SchemaScanner does output the attribute order alphabetically.
FeatureReader does not read the attributes that I have to change
It does, but they are unexposed. Select a feature and see the Feature Information Window. You can expose unexposed attributes with an AttributeExposer. With FeatureCaching you now can easily import them from feature cache.
When I do that I get
Esri Geodatabase Writer: Feature Type Definition '' was requested, but not defined. Please visit https://www.safe.com/support
GEODATABASE_FILE writer: An error has occurred. Check the logfile above for details