<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[general forum]]></title><description><![CDATA[Public forum about popular javascript based reporting platform jsreport]]></description><link>https://forum.jsreport.net/category/2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 03:06:20 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/category/2.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Aug 2026 15:01:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Error when using Search]]></title><description><![CDATA[<p>Thank you, I can reproduce it now.<br />
We will fix it in the upcoming release.</p>
]]></description><link>https://forum.jsreport.net/topic/3538/error-when-using-search</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3538/error-when-using-search</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Thu, 06 Aug 2026 15:01:50 GMT</pubDate></item><item><title><![CDATA[Issue with xlsx recipe]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/4511">@a-pulvirenti_TSGC24</a> FYI, this problem is fixed, it will be part of next jsreport release</p>
]]></description><link>https://forum.jsreport.net/topic/3533/issue-with-xlsx-recipe</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3533/issue-with-xlsx-recipe</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Mon, 13 Jul 2026 18:55:35 GMT</pubDate></item><item><title><![CDATA[A report of its own report history?]]></title><description><![CDATA[<p>This could be one approach...<br />
jsreport stores the history of running reports in the profiles entity.<br />
You can reach these information in the script and use it for your purpose.</p>
const jsreport = require('jsreport-proxy')
async function beforeRender (req, res) {
    const profiles = await jsreport.documentStore.collection('profiles').find({}, {})    
    
    const templates = []
    for (const p of profiles) {
        if (p.templateShortid) {
            templates.push(await jsreport.documentStore.collection('templates').findOne({shortid: p.templateShortid}))
        }        
    }

    req.template.content = 'recently used templates ' + templates.map(t =&gt; t.name).join(';')    
}

]]></description><link>https://forum.jsreport.net/topic/3537/a-report-of-its-own-report-history</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3537/a-report-of-its-own-report-history</guid><dc:creator><![CDATA[pofider]]></dc:creator><pubDate>Tue, 07 Jul 2026 12:40:55 GMT</pubDate></item><item><title><![CDATA[Number of images in PDF]]></title><description><![CDATA[<p>Thank you</p>
]]></description><link>https://forum.jsreport.net/topic/3526/number-of-images-in-pdf</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3526/number-of-images-in-pdf</guid><dc:creator><![CDATA[slopegameplay]]></dc:creator><pubDate>Wed, 01 Jul 2026 10:25:34 GMT</pubDate></item><item><title><![CDATA[Customer constrains force us to manually import npm packages]]></title><description><![CDATA[<p>If you need to bundle JavaScript packages, consider using a module bundler like Webpack or Rollup. They allow you to create a single file that includes all your dependencies.</p>
]]></description><link>https://forum.jsreport.net/topic/3531/customer-constrains-force-us-to-manually-import-npm-packages</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3531/customer-constrains-force-us-to-manually-import-npm-packages</guid><dc:creator><![CDATA[2048gamefree]]></dc:creator><pubDate>Mon, 15 Jun 2026 08:49:48 GMT</pubDate></item><item><title><![CDATA[How to Pre-fill some values in fillable PDF forms]]></title><description><![CDATA[<p>Im not sure what you mean...<br />
If you want field value to have black text, just use<br />
color='#000000'</p>
]]></description><link>https://forum.jsreport.net/topic/3535/how-to-pre-fill-some-values-in-fillable-pdf-forms</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3535/how-to-pre-fill-some-values-in-fillable-pdf-forms</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Fri, 12 Jun 2026 09:19:19 GMT</pubDate></item><item><title><![CDATA[How to render handlebar code and not show as text]]></title><description><![CDATA[<p>Write your own helper that will evaluate handlebars code<br />
Something like this</p>
function evaluate() {
    return Handlebars.compile('{{#if true}}hello{{else}}nothing{{/if}}')(this)
}

]]></description><link>https://forum.jsreport.net/topic/3536/how-to-render-handlebar-code-and-not-show-as-text</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3536/how-to-render-handlebar-code-and-not-show-as-text</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Tue, 09 Jun 2026 19:25:20 GMT</pubDate></item><item><title><![CDATA[Sub-group Page Numbering Support in Docxtemplater for Invoice &amp; Packing List]]></title><description><![CDATA[<p>Hi Team,</p>
<p>We are generating documents using Docxtemplater and have a requirement for separate page numbering groups within the same generated DOCX.</p>
<p>Requirement</p>
<p>Our generated document contains multiple sections:</p>
<p>Invoice Pages<br />
Packing List Pages</p>
<p>We need independent page numbering for each section/group.</p>
<p>Expected Output<br />
Invoice Section<br />
Invoice Page 1 → 1 of 3<br />
Invoice Page 2 → 2 of 3<br />
Invoice Page 3 → 3 of 3<br />
Packing List Section<br />
Packing List Page 1 → 1 of 2<br />
Packing List Page 2 → 2 of 2</p>
<p>So the page numbering should restart and calculate totals separately for each document group/section instead of the whole DOCX.</p>
<p>Current Challenge</p>
<p>Using normal Word fields like:</p>
<p>PAGE<br />
NUMPAGES</p>
<p>is calculating based on the entire document, not per subgroup/section.</p>
<p>Questions<br />
Is there any supported approach in Docxtemplater to achieve subgroup-wise page numbering?<br />
Can this be done using Word section breaks with separate numbering?<br />
Any recommended plugins/modules or template structure for this use case?<br />
Has anyone implemented independent page counts for multiple logical documents merged into one DOCX?<br />
Tech Stack<br />
Docxtemplater<br />
Node.js<br />
DOCX template generation</p>
<p>Any guidance or working examples would help. Thanks!</p>
]]></description><link>https://forum.jsreport.net/topic/3534/sub-group-page-numbering-support-in-docxtemplater-for-invoice-packing-list</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3534/sub-group-page-numbering-support-in-docxtemplater-for-invoice-packing-list</guid><dc:creator><![CDATA[dmex-thanesh]]></dc:creator><pubDate>Wed, 27 May 2026 07:03:05 GMT</pubDate></item><item><title><![CDATA[Issue with cleanup extension]]></title><description><![CDATA[<p>Thank you for the reply. We have implemented a standalone script as a workaround and have removed the cleanInterval and cleanThreshold extensions.</p>
]]></description><link>https://forum.jsreport.net/topic/3530/issue-with-cleanup-extension</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3530/issue-with-cleanup-extension</guid><dc:creator><![CDATA[mmoye]]></dc:creator><pubDate>Wed, 06 May 2026 19:05:56 GMT</pubDate></item><item><title><![CDATA[Slow but constant memory leak with chrome-pdf recipe on Docker (jsreport 4.12.0)]]></title><description><![CDATA[<p>This could mean that Chrome or Node.js is just lazy in releasing the memory.<br />
The idle time doesn't necessarily mean the memory gets released.</p>
<p>Try to run the container with limited memory. This should force the memory release.</p>
docker run -d --name jsreport-memtest --memory=500m -p 15488:5488 \
  -e &quot;extensions_authentication_enabled=false&quot; \
  jsreport/jsreport:4.12.0

<p>With the 500m memory limit, I can run 10 000 reports without OOM.</p>
]]></description><link>https://forum.jsreport.net/topic/3529/slow-but-constant-memory-leak-with-chrome-pdf-recipe-on-docker-jsreport-4-12-0</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3529/slow-but-constant-memory-leak-with-chrome-pdf-recipe-on-docker-jsreport-4-12-0</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Wed, 22 Apr 2026 19:38:24 GMT</pubDate></item><item><title><![CDATA[Authentication problems with authorization server]]></title><description><![CDATA[<p>I wanted to connect jsreport with our openid connect compatible idp software. But i get an error during the login process.</p>
<p>Error: Authentication with authorization server failed<br />
(because) error while verifying user (group). Authentication cancelled. Reason: No jsreport user group &quot;G-AAAAA-BBB-ABO,...,G-AAAA-BBB-jsreport-TEST,...,kt\DomÃ¤nen-Benutzer&quot; found linked to this authenticated session<br />
at module.exports (D:\jsreportapp\jsreportapp-4.12.0\node_modules@jsreport\jsreport-core\lib\shared\createError.js:10:13)<br />
at MainReporter.createError (D:\jsreportapp\jsreportapp-4.12.0\node_modules@jsreport\jsreport-core\lib\shared\reporter.js:53:12)<br />
at D:\jsreportapp\jsreportapp-4.12.0\node_modules@jsreport\jsreport-authentication\lib\main.js:459:32<br />
at strategy.error (D:\jsreportapp\jsreportapp-4.12.0\node_modules\passport\lib\middleware\authenticate.js:370:18)<br />
at OpenIDConnectStrategy.verified (D:\jsreportapp\jsreportapp-4.12.0\node_modules\openid-client\lib\passport_strategy.js:15:10)<br />
at D:\jsreportapp\jsreportapp-4.12.0\node_modules@jsreport\jsreport-authentication\lib\main.js:189:13<br />
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)</p>
<p>The list with groups is much longer. I deleted them from the error message.</p>
<p>Our idp is based on groups from the AD. So I created the group G-AAAA-BBB-jsreport-TEST in AD and added my user. I also added the group with the same name in jsreport.</p>
]]></description><link>https://forum.jsreport.net/topic/3528/authentication-problems-with-authorization-server</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3528/authentication-problems-with-authorization-server</guid><dc:creator><![CDATA[imhofdaniel]]></dc:creator><pubDate>Wed, 22 Apr 2026 09:53:03 GMT</pubDate></item><item><title><![CDATA[Conditional section break for landscape page]]></title><description><![CDATA[<p>hi <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2517">@andribo</a></p>
<p>sorry for not adding a reply, yes i am currently working on fixing this.</p>
]]></description><link>https://forum.jsreport.net/topic/3461/conditional-section-break-for-landscape-page</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3461/conditional-section-break-for-landscape-page</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Tue, 21 Apr 2026 21:32:25 GMT</pubDate></item><item><title><![CDATA[Compress PDF]]></title><description><![CDATA[<p>I’ve been looking into this as well. While using the pdf-utils and adjusting the pdfSettings in the configuration is the standard way to handle it within jsreport, sometimes the compression isn't as aggressive as I need for certain documents.<br />
If you're just looking for a quick way to shrink a file down before sending it off and don't want to mess with the server-side code right now, I've found this tool pretty handy- <a href="https://www.thetoolapp.com/compress-pdf-file/" rel="nofollow">https://www.thetoolapp.com/compress-pdf-file/</a>. It’s been a life-saver for me when I'm in a rush.<br />
Curious to see if anyone else has managed to get significantly smaller file sizes just by tweaking the internal jsreport chrome-pdf settings though!</p>
]]></description><link>https://forum.jsreport.net/topic/1628/compress-pdf</link><guid isPermaLink="true">https://forum.jsreport.net/topic/1628/compress-pdf</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Sat, 11 Apr 2026 06:12:32 GMT</pubDate></item><item><title><![CDATA[How to split a PDF file to couples of small PDFs page by page?]]></title><description><![CDATA[<p>If you’re looking to do this programmatically within jsreport, the script approach mentioned earlier is definitely the way to go for automation.<br />
However, if you just need a quick way to split a specific file manually without messing with the code right now, I’ve used <a href="https://thetoolapp.com/utilities/split-files/" rel="nofollow">https://thetoolapp.com/utilities/split-files/</a> before. It’s pretty straightforward for splitting things page-by-page.</p>
]]></description><link>https://forum.jsreport.net/topic/962/how-to-split-a-pdf-file-to-couples-of-small-pdfs-page-by-page</link><guid isPermaLink="true">https://forum.jsreport.net/topic/962/how-to-split-a-pdf-file-to-couples-of-small-pdfs-page-by-page</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Tue, 07 Apr 2026 08:01:17 GMT</pubDate></item><item><title><![CDATA[Fill pdf form]]></title><description><![CDATA[<p>I’ve run into similar issues with field mapping in the past. If you're looking for a quick way to test the form structure or just need a straightforward way to see how the fields behave before automating the whole thing, I sometimes use this simple tool- <a href="https://thetoolapp.com/pdf-tools/fill-pdf-form/" rel="nofollow">https://thetoolapp.com/pdf-tools/fill-pdf-form/</a>. It’s pretty handy for verifying the PDF side of things while you're debugging your jsreport script.</p>
]]></description><link>https://forum.jsreport.net/topic/1629/fill-pdf-form</link><guid isPermaLink="true">https://forum.jsreport.net/topic/1629/fill-pdf-form</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Mon, 06 Apr 2026 07:12:35 GMT</pubDate></item><item><title><![CDATA[DocxImage in footer]]></title><description><![CDATA[<p>That’s a classic challenge with Word-based reporting. Usually, when images aren't showing up in the footer, it’s because the docxImage helper is struggling with the specific scope of the footer part in the XML.<br />
One thing that often helps is making sure the image data is already fully resolved in your data object before the rendering starts. Also, double-check that you're using a relatively small image file - sometimes the footer container in Word is a bit more sensitive to large base64 strings than the main body is. If you've already tried that, sometimes wrapping the image in a fixed-size table cell in the footer can help &quot;force&quot; the rendering engine to reserve the space properly!</p>
]]></description><link>https://forum.jsreport.net/topic/3487/docximage-in-footer</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3487/docximage-in-footer</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Sat, 04 Apr 2026 12:13:01 GMT</pubDate></item><item><title><![CDATA[I need to repeat the header em second page]]></title><description><![CDATA[<p>If you are using the chrome-pdf recipe, the easiest way is usually to use the native 'Header' and 'Footer' templates in the jsreport studio. Anything you put in that header template section will automatically repeat on every page. Just make sure you leave enough margin in your main template so the header doesn't overlap with your content!</p>
]]></description><link>https://forum.jsreport.net/topic/3391/i-need-to-repeat-the-header-em-second-page</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3391/i-need-to-repeat-the-header-em-second-page</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Fri, 03 Apr 2026 12:35:33 GMT</pubDate></item><item><title><![CDATA[Report generation is very slow.]]></title><description><![CDATA[<p>I’ve noticed that when jsreport starts lagging, it’s usually either a massive data object being passed to the template or Chrome's memory management hitting a wall.<br />
One thing that really helped me was switching to the headless Chrome launch strategy in the config, or making sure I wasn't doing heavy data processing inside the Helpers - doing that before passing it to the engine makes a huge difference. Also, if you're using a lot of images or heavy CSS, try checking the &quot;Scripts&quot; execution time in the profiler; sometimes a single synchronous loop in a helper can hang the whole render.</p>
]]></description><link>https://forum.jsreport.net/topic/3470/report-generation-is-very-slow</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3470/report-generation-is-very-slow</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Thu, 02 Apr 2026 11:24:50 GMT</pubDate></item><item><title><![CDATA[Docxstyle background color issue]]></title><description><![CDATA[<p>I’ve run into similar styling issues with docx templates before. Word can be really picky about how it interprets background colors compared to a standard browser. Sometimes the docxStyle doesn't apply correctly if there's conflicting 'shading' settings already in the Word document itself. It might be worth checking if the base table or cell in your .docx file has a default fill color set to 'None' or 'No Color' instead of being completely unstyled.</p>
]]></description><link>https://forum.jsreport.net/topic/3514/docxstyle-background-color-issue</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3514/docxstyle-background-color-issue</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Thu, 02 Apr 2026 05:50:02 GMT</pubDate></item><item><title><![CDATA[Group visibilityPermissions empty after import]]></title><description><![CDATA[<p>That’s a strange one. I’ve seen similar issues with imports before where the core data moves over fine, but the metadata or link tables for permissions don’t seem to 'hook' correctly in the new environment.<br />
Have you checked if the Group IDs in your export file actually match the IDs in the new instance? Sometimes if the groups aren't created in the exact same order or if they have different internal IDs, the permissions end up pointing to nothing. It might also be worth doing a quick check of the logs during the import to see if there are any 'foreign key' or 'unauthorized' errors popping up silently.</p>
]]></description><link>https://forum.jsreport.net/topic/3486/group-visibilitypermissions-empty-after-import</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3486/group-visibilitypermissions-empty-after-import</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Wed, 01 Apr 2026 09:33:28 GMT</pubDate></item><item><title><![CDATA[API call to assign user admin rights]]></title><description><![CDATA[<p>That sounds like a permissions sync issue. Since you're working with the API to elevate rights, have you checked if the changes require a fresh session or a manual cache clear on the jsreport side?<br />
Sometimes the internal store doesn't reflect the new role immediately via the UI even if the API call returns a success. It might be worth trying to re-authenticate the user after the call to see if the admin privileges kick in properly.</p>
]]></description><link>https://forum.jsreport.net/topic/3516/api-call-to-assign-user-admin-rights</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3516/api-call-to-assign-user-admin-rights</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Tue, 31 Mar 2026 08:30:06 GMT</pubDate></item><item><title><![CDATA[footer overflows to next page or writes multiple times]]></title><description><![CDATA[<p>That’s a frustrating one, especially when it seems like the footer calculation is just slightly off. Have you tried wrapping the footer content in a fixed-height container or adjusting the marginTop and marginBottom in your Chrome-PDF recipe?<br />
Sometimes Chrome’s rendering engine gets a bit confused with page-break logic if the footer content is too close to the edge. Shrinking the footer font or slightly increasing the bottom margin usually clears up those weird overflows.</p>
]]></description><link>https://forum.jsreport.net/topic/3478/footer-overflows-to-next-page-or-writes-multiple-times</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3478/footer-overflows-to-next-page-or-writes-multiple-times</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Fri, 27 Mar 2026 09:58:17 GMT</pubDate></item><item><title><![CDATA[119 x 32 1 Hidden Terminal give me a title:  MongoServerError during import: &quot;Given transaction number does not match any in-progress transactions&quot;]]></title><description><![CDATA[<p>Thank you for the topic. I've tried to replicate the issue, but I can't reproduce it so far.</p>
<p>Some questions to help me isolate the problem...</p>
<p>Do you have authentication enabled?<br />
Do you reproduce the same with the local mongo single node replica?<br />
Could you upload somewhere an export with &quot;many child entities&quot; so we test on the same?</p>
]]></description><link>https://forum.jsreport.net/topic/3527/119-x-32-1-hidden-terminal-give-me-a-title-mongoservererror-during-import-given-transaction-number-does-not-match-any-in-progress-transactions</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3527/119-x-32-1-hidden-terminal-give-me-a-title-mongoservererror-during-import-given-transaction-number-does-not-match-any-in-progress-transactions</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Wed, 25 Mar 2026 20:47:58 GMT</pubDate></item><item><title><![CDATA[Create users in k8s deployment]]></title><description><![CDATA[<p>The startup script idea mentioned here is probably your best bet for a stateless setup. You could essentially pack your user creation logic into a small script and run it via an initContainer or a post-start hook in your K8s deployment.<br />
Another way to handle it without persistence is to use the jsreport CLI to import a prepared backup file (including the users) during the container's boot sequence. It keeps things clean and ensures your environment is identical every time it spins up.</p>
]]></description><link>https://forum.jsreport.net/topic/3505/create-users-in-k8s-deployment</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3505/create-users-in-k8s-deployment</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Fri, 20 Mar 2026 12:39:49 GMT</pubDate></item><item><title><![CDATA[XLSX template rendering issue]]></title><description><![CDATA[<p>Have you tried running the report with a simpler template or smaller data set to check if the issue is related to the complexity of the template or the size of the data?</p>
]]></description><link>https://forum.jsreport.net/topic/3519/xlsx-template-rendering-issue</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3519/xlsx-template-rendering-issue</guid><dc:creator><![CDATA[snowroad12]]></dc:creator><pubDate>Fri, 20 Mar 2026 10:00:57 GMT</pubDate></item><item><title><![CDATA[Version control revert issue]]></title><description><![CDATA[<p>Reverting versions can definitely be a bit nerve-wracking when the UI doesn't seem to sync up right away. If you're still having trouble seeing the changes or just want to double-check the file structure before committing to another revert, I've found that using a quick online text or metadata extractor can help you verify exactly what's in the report definition. It’s a nice way to troubleshoot without cluttering your local environment.</p>
]]></description><link>https://forum.jsreport.net/topic/3488/version-control-revert-issue</link><guid isPermaLink="true">https://forum.jsreport.net/topic/3488/version-control-revert-issue</guid><dc:creator><![CDATA[JannetGen]]></dc:creator><pubDate>Thu, 19 Mar 2026 08:14:27 GMT</pubDate></item></channel></rss>