How to Generate table of contents In Report As a PDF

Hi,

how do I create a table of contents within a KNIME report that also includes links to the specific sections?

for example:

subject..................................Page 1

subject..................................Page 3

Ps: Run in web Viewer its work I got my Contents Table but when I run as pdf just I get the pages without table of contents

 

Thanks for the help,

Bests.

Hi Mokrani,

did you check the PDF in your browser or in a proper PDF-viewer? When I checked my report in the browser the TOC was also missing (probably because it was some kind of preview displayed in the browser), but when I opened it with Adobe the TOC was in the report.

Cheers,
Marten

Hi Marten,

Thank you, I tried and its work well when I open it with ADOBE or localy.

But now there another issue how can I add the page number to the table of contents.

Bests 

 

Hi Mokrani,

For every entry in the TOC there should be an expression for the respective element which defines the name of the TOC-entry. Just add + pageNumber to that expression.

Cheers,
Marten

Thank you marten for your suggest

But how can I concatenate the PageNumber and my TOC is dropped in the layout. I mean where I can get the PageNumber in the layout or I need to implement a script count the pdf pages? 

bests.

Hi Mokrani,

I meant that you should add the word pageNumber literally. It is a variable which will be evaluated during runtime such that it stores the number the of the page that is being rendered.

Cheers,
Marten

where I can find the number of pages!??

cheers.

Hi Mokrani,

I found a similar problem in the eclipse forum: https://www.eclipse.org/forums/index.php/t/273065/

I'm afraid I can't help you any further with this.

Cheers,
Marten

Hi Mokrani,

I found a similar problem in the eclipse forum: https://www.eclipse.org/forums/index.php/t/273065/

I'm afraid I can't help you any further with this.

Cheers,
Marten