Using Linq.js and Docx
-
I'm trying to use jsreport and I have a question. Is it possible to use a script file as a helper for rendering a docx for example? I wanted to use linq.js to use summarizations and queries.
-
Yes,
you can install the lib from the npm (
npm i linq@3.2.4
) and then require it (`const Enumerable = require('linq').docs here
https://jsreport.net/learn/templating-enginesYou can use it also without explicit installation using npm extension.
Example here
https://playground.jsreport.net/w/anon/cTU5LmxONote I explicitly install the older version, because the new one doesn't work with
require
, we will try to solve this problem shortly. (https://github.com/jsreport/jsreport/issues/937)
-
tks u so much!!