1 Reply Latest reply on Aug 18, 2009 12:03 PM by Jasmin Charbonneau

    Set name of output file with the input xml name

    Mancini21 Level 1

      Hi guys,

       

      I'm trying to do this,

       

      I have an input file, a xml file in the generatedPDFoutput activity, and when i put the file in the watch folder it returns me a pdf file. I want to set the name of the output file as the name of the input xml file. I want to have the same name as the input file. Otherwise if i deliver many files in the watch folder, i only get one file because it overwrites the other files and i only get an output001.pdf.

       

      Example: My input xml = test.xml

                     My outputfile = test.pdf

                     My input xml = test1.xml               

                     My outputfile = test1.pdf

                     My input xml = test2.xml               

                     My outputfile = test2.pdf 

       

      Regards.

       

       

      Mancini.