Skip to main content

Dear FME community,

I have data from several districts. Each district has different data sources. I'd like to use the same workbench for every district. Therefore, I'd like to set up a workbench with multiple (dynamic) readers, where the user would choose the district and the source of the corresponding feature types at the beginning of the translation (feature types to read, when run with prompt is enabled).

So far I've only been able to do this if there is only one dynamic reader. Is it possible to use more than one dynamic reader? If not, is there a workaround for non-dynamic readers to be able to let the user choose the corresponding feature type?

I appreciate your help,

Vincent

I believe that you can simply add any number of readers with single merged feature type (so-called dynamic reader) to the workspace and run it with prompting their datasets and feature types to read, as shown below. Could you please explain your issues more specifically?


I believe that you can simply add any number of readers with single merged feature type (so-called dynamic reader) to the workspace and run it with prompting their datasets and feature types to read, as shown below. Could you please explain your issues more specifically?

The single merged feature type was what I was looking for. Thank you!

 


A related question: Every month I get updated files for every district. If I define a folder as a source for the District A Datasets, do I have to add a new reader and delete the old one every time I add a new file to the folder? @takashi


A related question: Every month I get updated files for every district. If I define a folder as a source for the District A Datasets, do I have to add a new reader and delete the old one every time I add a new file to the folder? @takashi

If you use the wildcard (*) to specify the source dataset within the folder specific to a district, you don't need to replace the reader with new one even if the name of the updated file is different from the previous one. Of course, assume that the data format and source schema should be identical always.

 

Note: the ? symbol shown on Japanese Windows is equivalent to a backslash.

 

 


Reply