Forum Discussion
The pipeline you shared above gave me an idea. I tested it and it looks like it will work for what I need to do, although I still need to figure out how to get the total number of detail rows to put in the trailer.
Get your header/details/trailer → CSV format however you need them → Bin2Doc → Join Merge → Mapper (Base64.decode($content).concat(Base64.decode($detail_content), Base64.decode($trailer_content))) → DocToBin → File Writer
I don’t believe that this is the most efficient way of accomplishing this task but it looks like it will work. What do you think @tstack?
- alchemiz6 years agoContributor III
A new snap from the most recent release of Snaplogic might be ideal for here
The Gate Snap 🙂 will array the incoming document into a single key where documents are contain in an array
The Gate Snap_2020_06_06 (1).slp (13.3 KB)
- dwhansen-cbg6 years agoContributor
@alchemiz I’ll give this a try. I use the Gate snap all the time but I didn’t know it could do this.