I'm using a custom data source to print using an A...
# advancedpdf
r
I'm using a custom data source to print using an Advanced PDF template. Only the first way produces any output at all. I'm confused since I know I have had success with the second and last ways. Pretty sure all of these should produce some output.
d
is dateCreated a date/date-time or is it a string? the 2nd method
?string['d/MMM/yyyy']
doesn't seem to be a real freemarker bulit-in (string types have a string built-in, but not dates) however the last/5th method
?date("d/MMM/yyyy")
should work if
dateCreated
is actually a string (as per the string ?date built-in) *AND the
dateCreated
string is actually in the format "d/MMM/yyyy"
what do you get if you output
dateCreated?is_date
and
dateCreated?is_string
?
r
I just handled this script-side.
👍 1