I am reading feature classes contained in feature datasets from a FGDB and then write all feature classes to a SDE/GDB. My question is how I can avoid feature dataset names and only write feature classes. I don't need the feature dataset names
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
This has driven me nuts before now. Do you mean feature dataset and not feature database? If you expose the atrribute using an "Atrribute Exposer" and the manage it. I have used the "Attribute Remover" to do this. Depends on your workspace flow.
David_r and Samvernon, Thanks for providing your suggestions. I want to load only feature class from FGDB to Enterprise GDB and no feature dataset names. I was able to find another post and applied the solution: add AttributeCreator and set "geodb_feature_dataset" to a blank value. This solution worked and resolved my issue. Thanks again.
- there are differences between the "Esri Geodatabase (File Geodb)" and the "Esri Geodatabase (File Geodb Open API)" on how they handle the Feature Dataset. The former sets the geodb_feature_dataset attribute, the latter includes the feature dataset in the feature type name. featuredataset/featureclass
- if your writing to existing feature classes in the enterprose Geodb, then the feature dataset should be ignored, since a feature class name has to be unique across the database. If the feature class doesn't exist in the Enterprise Geodb, then you will have to remove the feature dataset attribute as suggested by @samvernon and @david_r