Is it possible to have a conditional statement wit...
# advancedpdf
l
Is it possible to have a conditional statement within the th tags? Below does not work: <th colspan=“4”><#if record.createdfrom.entity.internalid = ‘1021’)> BPN #elseASIN <#/if></th>
s
I am almost certain that the tags or text surrounding the freemarker sections make no difference. I think the issues may be with
record.createdfrom.entity.internalid
Verify first that that even returns a value by printing it out somewhere on the form with
${record.createdfrom.entity.internalid}
In my experience, you can rarely get data two levels deep (two dots) and I don’t think three levels deep is possible at all, but i could be wrong.
l
It's working now. It's due to the extra parenthesis and it's also not possible to have more than 2 dots like you mentioned. Thanks