Question

FileNamePartExtractor question

  • 27 January 2014
  • 1 reply
  • 5 views

I am VERY new to FME.

 

 

When using the FileNamePartExtractor, is there any way that the parameters for this transformer can be automatically populated at all?

 

 

It seems like you have to input all the neccesary information manually:

 

Source Filename:

 

Directory Path

 

Full Filename

 

Root Filename

 

Filename Extension

 

Directory Name.

 

 

It just seems it would easier to just rename the writer file by itself, than to input these manually each time you run it.  So I must be missing something...

 

 

jw

1 reply

Badge
Hi JW, 

 

 

The only input to FileNamePartExtractor is the "Source Filename". This can be input manually, or you can use an existing attribute value, a user parameter ro a published parameter. 

 

 

The other ones (Directory path, Full Filename, Root Extension, Directory Name) are the results, which are stored into attributes. FME has some default names for those attributes (_dirpath, _filename and so on), but you can (manually) name them whatever you want. 

Reply