Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only

IBM Daeja ViewONE: Support for Bookmarks / Table of Contents in certain PDF documents

By Mahesh R posted 2 days ago

  

Navigating large PDF documents just became easier and more intuitive!

We’re excited to introduce support for Bookmarks / Table of Contents in applicable PDF files. This enhancement allows users to view and navigate document structure with just a click — making it faster to find what you're looking for.


What’s New?

  • A new Bookmarks / Table of Contents button is now available on the north toolbar of the viewer.
  • Clicking this button opens a navigation panel that lists all sections, chapters, or bookmarked items in the PDF.
  • Users can click any item to jump directly to that section in the document.
  • For developers, a new JavaScript API allows programmatic access to the Bookmarks / TOC in JSON format.

 


Configuration Option

Control the visibility of the Bookmarks / Table of Contents button using a simple HTML parameter:

To hide the Bookmarks/Table of Contents button

enableTableOfContentsButton = false

To show the Bookmarks/Table of Contents button (default behavior)

enableTableOfContentsButton = true

Note: When this parameter is not explicitly set, the button is visible by default if the PDF contains bookmarks or a table of contents.


JavaScript API Access

Use the getPDFTableOfContents() API to fetch the Bookmarks / Table of Contents in JSON format for implementing custom navigation or embedding links in custom application etc.

Example:

viewer.getPDFTableOfContents();

 


 Key Benefits

  • Simplified Navigation: Quickly jump to any section or chapter.
  • Professional UX: Present large documents with structured access.
  • Developer Friendly: API enables deeper integration with custom apps.
  • Easy Configuration: Toggle visibility with a single HTML setting.

    IBM Documentation Reference - https://www.ibm.com/docs/en/daeja-viewone/5.0.x?topic=options-enablepdftableofcontents
    Co-Author:  Jeffrey Dare 
0 comments
6 views

Permalink