Skip to main content

Hello, 

 

I am trying to use Python Creator to read a shapefile from user parameter input file and expose all the attributes to be able to use the data later in the workflow. Is it possible to do it?

 

The reason of not using shapefile Reader is that the attributes of multiple input shapefiles can differ. The goal of the FME is to import the shapefiles into a database (the final DB table attributes must be equal to the attributes of input shapefile).

 

Thank you.

A dynamic workflow is what you are looking for. You can find extensive discussion on that topic at this link: https://community.safe.com/s/article/dynamic-workflow-tutorial-basics-of-dynamics


You can only expose attributes at design-time, not at run-time.

The solution is to use dynamic schema in FME, here is a good starting point: https://community.safe.com/s/article/dynamic-workflow-tutorial-introduction


Thank you for your answers!


Reply