Closed
Solved
How to add bookmarks in generated PDF
We have a requirement to generate a large PDF of 250 pages. We would like to add bookmarks to the PDF for quick navigation. I found a couple of documents downloaded from PDN have that feature(Attached here). Is there any way we can add the same for PEGA generated PDF from a Section?
Thanks in advance
***Edited by Moderator: Pooja Gadige to add capability tag, move from Pega Academy to Product***
To see attachments, please log in.
@Abhilash_K
I was able to achieve this with the OOTB HTMLToPDF activity. it takes the param pyEnableOutlines and that will generate bookmarks from the Anchor tags included in Section HTML(Attached generated PDF with bookmarks).
We will need to include Anchor tags as below to achieve it. We can even pass them dynamically through Property-ref
<a name="Bookmark 1">Texas</a>
<a name="Bookmark 2">NC</a>
Thanks for your proactive reply...