Skip to main content

I have situation wherein I need to add fields to all the feature classes within a SDE. I cannot seem to figure out how to loop through the SDE, and operate on one feature class at a time, though. My first thought was to generate a list of all the feature classes in the SDE using two FeatureReaders, but then I was not sure how I would iterate through that list.

 

Any assistance would be greatly appreciated. Thanks!

Often with FME if you think you need to iterate, you haven't figured how to do it without iterating.

Seems like all you need is to have a Feature Reader on the database, from the schema port test that the field is not in the schema, and then an arcpy script to alter the layer to add the field.


Reply