View Single Post
Old August 17th, 2015, 10:58 AM
ChuckBrodeur ChuckBrodeur is offline
Junior Community Member
Join Date: Aug 2014
Location: Atlanta, GA
Posts: 28
Default Adding a Differentiator to Output File Names

We are running VDP Producer API version 9.3.9 and have set up our templates on our server to create multiple output files when the number of records exceeds a certain amount using the composition setting "output to multiple files". Using the Folder Watcher we have also set the Output File Name to use "input file name".

The issue that we have is when the output files are generated they have a number sequence appended to the end of the file name, for example, newfile1.pdf; newfile2.pdf; newfile3.pdf; etc.; and it just so happens our file names are number sequences already. Our file names end up looking something like 12341.pdf; 12342.pdf; 12343.pdf; which ends up a little confusing to our operators.

The question I have is this: is there a programmatic way to precede the file differentiator with a hyphen, or underscore, so the files would look something like this, 1234-1.pdf, 1234-2.pdf, etc.?

Reply With Quote