How to execute query in xls template?

Hello,

How I can execute query in a template report xls for get all record from Document for example. I try jx:each(items=“coreSession.query('select * from Document', 2000)” var=“docg”) But not working :'(

0 votes

1 answers

663 views

ANSWER



Hello,

It is easier to use regular document template with Freemarker : https://doc.nuxeo.com/nxdoc/document-templates-and-automation-rendering-service/#freemarker-templating-language-ftl

Regards

0 votes