01-17-2018 11:43 AM
We are in need of using a variable to gather only the date. I've seen the $FFtimeStamp$ variable, but this also generates the current time. Is there a way to create a watermark with only the current date?
Thank you in advance!
01-17-2018 12:04 PM
Not at this time. The only variable that will gather the date is $FFtimeStamp$, as you've identified. As reminder, you may view a list of all currently supported Job Variables in the Appendix of the FreeFlow Core online Help, or in the PDF version available in the Support & Drivers section on Xerox.com.
01-17-2018 03:28 PM
Here is an idea ( a bit kludgy).
In the Watermark node, use both a text (the first watermark) and an image. For the text watermark use the $FFtimeStamp$ variable. For the image watermark build a "white" block png. Using the placement controls (a bit of trial and error), position the "white" block over the "time" content of the variable leaving the date to be printed.
02-17-2018 05:47 PM
If $FFtimeStamp$ was a text variable you could use .substring(x,y) to cut the pieces of the date-time-stamp you want. Problem: You need to make it a text field. You can do this by using the meta data part of the Optimize node. Example: At the beginning of the workflow create an Optimize node, activate the first box "PDF properties" (or similar in your language) of the Metadata part. Then add $FFtimeStamp$ in the Subject field.
In the watermark node you can then use the $FFwfdoc.Subject$ property with .substring(x,y), even multiple times, to format the date you want - e.g. $FFwfdoc.Subject.substring(6,4)$-$FFwfdoc.Subject.substring(3,2)$-$FFwfdoc.Subject.substring(0,2)$.
BTW: You can see the date format of $FFtimeStamp$ in the Subject property of the resulting PDF file - this may help for the formatting, depending on the language you are using.