This should work, assuming the filename always has .pdf at the end of it. Case matters, .PDF is not .pdf, just so you're aware.
{STRING(Replace,{NEWNAME()},.pdf,)}.{DATEFORMAT(yyyyMMdd_HHMMss)}.pdf
it's broken up in 3 parts, but i treat it as a string of text being built one after another.
First i strip off the PDF extension including the . with is to ensure we don't grab the letters pdf randomly in the middle of the filename (still not guaranteed if someone creates a file called important.pdffile.pdf )
{STRING(Replace,{NEWNAME()},.pdf,)}Then we add a . and the date format you want:
.{DATEFORMAT(yyyyMMdd_HHMMss)}Then follow it up with a . and pdf to re-apply the file extension.
.pdfBrian
Edited by user
2014-12-04T22:02:48Z
|
Reason: Not specified