<?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[Produce-zero-paged report]]></title><description><![CDATA[<p>Hi,</p>
<p>Due to the complexity of my report, I am pretty much entirely building it through a series of pdf utils through the afterRender on my main template. The main template may or may not produce content depending on some variables. If I produce no content then I don't want to render a page and then I would just keep appending more sections in afterRender. Can I make a template not produce a page? Alternatively, if I can delete a page in 'res' in afterRender that would also do the job. - is this possible?</p>
]]></description><link>https://forum.jsreport.net/topic/1656/produce-zero-paged-report</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 12:31:07 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/1656.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Jul 2020 23:11:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Produce-zero-paged report on Invalid Date]]></title><description><![CDATA[<p>Hi,</p>
<p>Due to the complexity of my report, I am pretty much entirely building it through a series of pdf utils through the afterRender on my main template. The main template may or may not produce content depending on some variables. If I produce no content then I don't want to render a page and then I would just keep appending more sections in afterRender. Can I make a template not produce a page? Alternatively, if I can delete a page in 'res' in afterRender that would also do the job. - is this possible?</p>
]]></description><link>https://forum.jsreport.net/post/7464</link><guid isPermaLink="true">https://forum.jsreport.net/post/7464</guid><dc:creator><![CDATA[Cameron Forward]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Produce-zero-paged report on Invalid Date]]></title><description><![CDATA[<p>Hi,</p>
<p>please elaborate more on your use case so we can discuss the solution.</p>
<p>If the main template shouldn't produce a page/content, you can in afterRender of main just skip the <code>res.content</code> and instead start appending from the first template you want to append. Something wrong with this?</p>
]]></description><link>https://forum.jsreport.net/post/7465</link><guid isPermaLink="true">https://forum.jsreport.net/post/7465</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Produce-zero-paged report on Invalid Date]]></title><description><![CDATA[<p>Ok thanks Jan, so if my main template is expected to produce no content, then in afterRender() I next call my next template (template2 let's call it) and after it comes back, I just set res.content to template2's content?</p>
]]></description><link>https://forum.jsreport.net/post/7466</link><guid isPermaLink="true">https://forum.jsreport.net/post/7466</guid><dc:creator><![CDATA[Cameron Forward]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Produce-zero-paged report on Invalid Date]]></title><description><![CDATA[<p>Yes, that was the idea.</p>
]]></description><link>https://forum.jsreport.net/post/7474</link><guid isPermaLink="true">https://forum.jsreport.net/post/7474</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>