Skip to main content
Question

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

  • April 7, 2017
  • 1 reply
  • 59 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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • April 7, 2017

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.