For normal Reader feature types, to update for schema or attribute changes you simply go to Readers > Update Feature Types. I can't find the same functionality using a FeatureReader. Is there a way to do that? The only workaround I've found is to drop the FeatureReader and re-add it.
Hi @Jon Atwood ,
Great question. As of 2021, there is actually a Regenerate button under the Feature Reader > Output > Output Ports parameter. If you are using an older version of FME, you can still get this done either by clicking on the Parameters button (for formats like Excel, CSV, Sheets) or selecting the feature types to read then clicking OK in the FeatureReader parameters.
Here are the 3 options:
Hi @Jon Atwood ,
Great question. As of 2021, there is actually a Regenerate button under the Feature Reader > Output > Output Ports parameter. If you are using an older version of FME, you can still get this done either by clicking on the Parameters button (for formats like Excel, CSV, Sheets) or selecting the feature types to read then clicking OK in the FeatureReader parameters.
Here are the 3 options:
@chrisatsafe thanks for all the info! Currently running 2020 so guess I'll have to upgrade to get that cool new button
I have a follow up question...
Which version of reader does the FeatureReader use for a given format? Does it use the latest version available in the version of FME being used, or does it use the version that was in use at the time the FeatureReader was added to the canvas?
For example, I build a workspace using FME 2018 with a FeatureReader reading a Shape file. I then open and run the workspace in FME 2021. Will it run using the FME 2018 version of the Shape file reader, or the 2021 version?
There does not seem to be an option to "upgrade reader" as there is with standard readers/writers.
I have a follow up question...
Which version of reader does the FeatureReader use for a given format? Does it use the latest version available in the version of FME being used, or does it use the version that was in use at the time the FeatureReader was added to the canvas?
For example, I build a workspace using FME 2018 with a FeatureReader reading a Shape file. I then open and run the workspace in FME 2021. Will it run using the FME 2018 version of the Shape file reader, or the 2021 version?
There does not seem to be an option to "upgrade reader" as there is with standard readers/writers.
Hi @nic_ran The version used is the most recent for that build of FME when editing the FeatureReader. It's not yet possible to select particular versions of readers or even keep the version to what it was when the FeatureReader was first configured. This issue is being tracked via FMEENGINE-10220.
Hi @nic_ran The version used is the most recent for that build of FME when editing the FeatureReader. It's not yet possible to select particular versions of readers or even keep the version to what it was when the FeatureReader was first configured. This issue is being tracked via FMEENGINE-10220.
Thanks Dan. At least good to know how it behaves - and also that it might be something that will change in the future.