<?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[TOC Links are not clickable when admin example is used as script]]></title><description><![CDATA[<p>Here is the example by admin that creates a clickable TOC in chrome.<br />
<a href="https://playground.jsreport.net/w/admin/akYBA4rS" rel="nofollow">https://playground.jsreport.net/w/admin/akYBA4rS</a></p>
<p>I tried replicating the same by using the script instead of pdfutils, however, this does not seem to work.<br />
<a href="https://playground.jsreport.net/w/anon/V2YV9L6q" rel="nofollow">https://playground.jsreport.net/w/anon/V2YV9L6q</a></p>
<p>Can someone please help me?</p>
]]></description><link>https://forum.jsreport.net/topic/2049/toc-links-are-not-clickable-when-admin-example-is-used-as-script</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 03:59:22 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2049.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Jul 2021 15:20:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TOC Links are not clickable when admin example is used as script on Invalid Date]]></title><description><![CDATA[<p>Here is the example by admin that creates a clickable TOC in chrome.<br />
<a href="https://playground.jsreport.net/w/admin/akYBA4rS" rel="nofollow">https://playground.jsreport.net/w/admin/akYBA4rS</a></p>
<p>I tried replicating the same by using the script instead of pdfutils, however, this does not seem to work.<br />
<a href="https://playground.jsreport.net/w/anon/V2YV9L6q" rel="nofollow">https://playground.jsreport.net/w/anon/V2YV9L6q</a></p>
<p>Can someone please help me?</p>
]]></description><link>https://forum.jsreport.net/post/9024</link><guid isPermaLink="true">https://forum.jsreport.net/post/9024</guid><dc:creator><![CDATA[Ritesh Kumar Gupta]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to TOC Links are not clickable when admin example is used as script on Invalid Date]]></title><description><![CDATA[<p>Please see some theory here <a href="https://jsreport.net/learn/pdf-utils#toc-table-of-contents" rel="nofollow">https://jsreport.net/learn/pdf-utils#toc-table-of-contents</a><br />
The working demo renders TOC twice -&gt; once to add content to the chapter labels and the second time to merge in the page numbers. The second time it renders it intentionally hides the content of the chapter labels and that is what is happening in your code. This is the exact part of the code</p>
<pre><code>&lt;a class='{{{addClassOnPdfMerge @root &quot;toc-hidden&quot;}}}'
</code></pre>
<p>To fix this you could remove the intentional hiding of labels and result into this:<br />
<a href="https://playground.jsreport.net/w/anon/_CmxM70t" rel="nofollow">https://playground.jsreport.net/w/anon/_CmxM70t</a></p>
<p>However,  because of the pdf utils limitation, the clickable links don't work across multiple appended pdf documents.<br />
<a href="https://github.com/jsreport/jsreport/issues/771" rel="nofollow">https://github.com/jsreport/jsreport/issues/771</a><br />
The only option is to make the TOC part of the main document like in the working demo.</p>
]]></description><link>https://forum.jsreport.net/post/9025</link><guid isPermaLink="true">https://forum.jsreport.net/post/9025</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to TOC Links are not clickable when admin example is used as script on Invalid Date]]></title><description><![CDATA[<p>Thanks, I got the idea now and was able to implement without need to script here using jsreport.documentStore.collection and pdfutils.</p>
<p>Resolving</p>
]]></description><link>https://forum.jsreport.net/post/9026</link><guid isPermaLink="true">https://forum.jsreport.net/post/9026</guid><dc:creator><![CDATA[Ritesh Kumar Gupta]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>