Skip to main content
Question

Expose zipfile filename attribute

  • March 9, 2018
  • 1 reply
  • 14 views

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

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

  • Author
  • 1 reply
  • March 10, 2018
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.