--- title: "Add Bookmark to PDF" slug: "add-bookmark-to-pdf" tags: ["pdf", "bookmark"] updated: 2026-02-02T18:16:10Z published: 2026-02-02T18:16:10Z canonical: "documentation.decisions.com/add-bookmark-to-pdf" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Add Bookmark to PDF | ## Step Details | | --- | | **Introduced in Version** | 9.20 | | **Modified in Version** | --- | | **Location** | Data > PDF | The **Add Bookmarks to a PDF** step allows a user to add a list of bookmarks to a PDF file. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Bookmarks | A list of a composite object to allow the user to specify a list of bookmarks. This object allows you to specify the BookmarkName(String) and PageNumber(Int32). | DecisionsFramework.Design.Flow.CoreSteps.PDF.PdfBookmark | | Pdf Document | PDF file to add bookmark to | FileData | Outputs | Property | Description | Data Type | | --- | --- | --- | | Done | | | | | Pdf Document Result | The PDF file with the added bookmarks | File Data | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1770051281511.png) --- ## Example The following example adds an image to a PDF file using the Add Background to PDF step. 1. [Create a new Flow.](https://documentation.decisions.com/v9/docs/creating-your-first-flow-2) 2. Expand the **Data > PDF** steps and select the **Add Bookmarks to PDF** step to the workspace. 3. With the step selected. In the **Inputs** panel, define the PDF Document and the bookmarks you want added to the document. For this example, these inputs are set to constant values.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1770051489719.png) 4. Create and add a [Form](/v9/docs/create-a-form) step. 5. In the Form Designers Toolbox tab, search for the **Document Viewer** control. 6. In the **Properties** panel for the control, under the **InputType** header, select the File Data. 7. Name the input field using **Data Name** in the **Properties** panel. **MyPDF** is used for the Data Name input.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1770053084929.png) 8. Add a Button to the Form and close the Form Designer.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1770053179446.png) 9. Map the **Pdf Document Result** to the **MyPDF** field on the Form. 10. Connect the Form to the End step.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1770053261391.png) 11. Debug the Flow. The bookmark will be applied to the PDF files when viewed through the **Document Viewer.** 12. **![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1770053341409.png)** --- Related Information Forum Posts: [Add A Image To A PDF Within A Flow](https://community.decisions.com/discussion/23644/add-a-image-to-a-pdf-within-a-flow) [Merge Multiple PDFs](https://community.decisions.com/discussion/1087/merge-multiple-pdfs) [How To Turn A Form Into A PDF?](https://community.decisions.com/discussion/25151/how-to-turn-a-form-into-a-pdf)