Skip to main content

The FeatureWriter has an option to set the Table Qualifier. This makes it possible to use one writer for multiple database schemas.


Unfortunately the FeatureReader is missing something similar which leeds to a lot of spaghetti. It would be a nice improvement if you can set in the FeatureReader the Table Qualifier (based on an attribute value).

 

This is possible already, just replace the schema with an attribute:

@Value(SdeSchema).<FeatureClassName>

This will change the FeatureReader to be Generic, but with an AttributeFilter and AttributeExposers you’ll have the same result, using only one FeatureReader.

 


I think I tried that before I posted this idea. Not sure why it seemed it didn't work before or I got that impression, but after trying again and using the AttributeFilter I have untangled my spaghetti.


I have used parameters before, but when migrating to 2021 this stopped working, so I created an attribute from the parameter since.