View Data Object Keys in Advanced PDF Template/FreeMarker
Is there a way to view the keys of the data object in an Advanced PDF Template at runtime? The FreeMarker docs seem to indicate that there is a “?keys” builtin, but this always results in a non-descriptive error. I’m trying to get the keys (schema) for the lines in the Statement. This post from StackOverflow seems to be relevant, but gets errors at runtime:
<#list .data_model?keys as key>
${key} = ${.data_model[key]}<br />
</#list>