Question

Set the Writer to output to the same folder as the Reader source

  • 7 April 2017
  • 1 reply
  • 2 views

Hi,

I am trying to set the Writer Destination folder to dynamically or automatically set to the location of the Reader Source folder but I am not having much luck.

I thought the easiest approach would be to use the FilenamePartExtractor and set the _dirpath as the attribute value or user parameter of the Destination folder but it doesn't work.

Does anyone know the best way to set these parameters in FME?

Thanks

Andrew


1 reply

Userlevel 2
Badge +12

I think you will need a combination or the mentioned FilenamePartExtractor and the Dataset Fanout, which you can find in the Writer parameters in the Navigator Window.

Reply