This content has been marked as final. Show 4 replies
Ok, I found it.
The %F mapping on the output parameter gives the folder name to the assembled pdf.
So, another question:
When I have my Map with the files from the picked folder, is there an easy way to sort these files because I need to assemble them in the correct order. The file names that are in the dropped folder are numbered like filename__1.pdf, filename__2.pdf and they have to be assembled in the exact order.
Anybody have an idea?
Here is the DDX to use for the Assembler invokeDDX operation:
<?xml version="1.0" encoding="UTF-8"?>
Thanks for your awnser. I will try this in my process.
But I think I managed to do this in a different way.
I made a script in a Excecute Script operation and used Java code to sort a List containing my filenames. After that I used this sorted List to create the DDX, also in the same Excecute Script with Java code.
I tested this a couple of times and it seems to work so far.