Skip to main content

Hello,

 

I need to read all attributes from input shapefiles with different attributes (not to have the attribute number and name defined). I would like to have a workflow with one reader that will read input shp e.g. "Test1" with 3 attributes (in first run) and then input "Test2" with 4 attributes (in second run)

 

Is there a way how to do it?

 

Thanks!

The big question is, what are you going to do with it, downstream the reader. Because, if you want to do any action, with almost any transformer, you need to pre define the attribute names.

 

If you want to read and write files without knowing the attributes beforehand, you want to read and write dynamic. This is fully supported, see the Tutorial: Dynamic Workflows.

 

Edit: Since the SchemaScanner transformer, dynamic workflows even got better.


Reply