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 />
Rookie Asked on March 18, 2021 in Reports.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor