Question

Expose zipfile filename attribute

  • 10 March 2018
  • 1 reply
  • 1 view

I am very new to FME, so apologies if I'm missing something obvious. . .

I am trying to expose the filename of zipped FGDBs in a reader that uses a wildcard (i.e. *.gdb.zip). I want the filename of the zipfile, which is different from the underlying FGDB name in this case. Exposing the name via fme_basename or fme_dataset attributes does reveal everything from the FGDB nicely, but it does not appear to reveal the zipfile filename (which makes sense).

So, any ideas how one might expose the zipped file filename when the reader is using a wildcard?

Thanks for any help.

-Chris


1 reply

I just discovered the answer to my own question . . .

 

 

Exposing the fme_dataset attribute value '_rootname' appears to correctly give the filename of the zipped file. I forgot to expose the fme_dataset attribute in the reader's Format Attributes tab initially.

 

 

All is good now.

 

Reply