Jump to content

Adding a Differentiator to Output File Names

Recommended Posts

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.?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...