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
scottvonduhn
03/10/2023, 8:31 PM
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
scottvonduhn
03/10/2023, 8:32 PM
Verify first that that even returns a value by printing it out somewhere on the form with
${record.createdfrom.entity.internalid}
scottvonduhn
03/10/2023, 8:33 PM
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
Luis
03/10/2023, 11:28 PM
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