Retrieve Filename into Mapper from Box Read

How can I catch the Filename “Box Read” Snap opened into the “Mapper” snap?

Is your “Box read” a multi-file reader or single? Single, you can pass a parameter in for the file name instead of calling it directly. If it’s multi, you would have to get a bit fancier by doing a binary to document and getting the content-disposition field to get the filename.

Hi, can you post a sample pipeline? How do you ensure that the XML Parser reads the content and not the “content-disposition”?


If you want to have the name of the file read you can use this technique, which captures the filename in the mapper after the binary router, and then join that with the data output of the parser.
I configured that mapper like so:

and the Join like so: