How to Add Bookmarks to Dynamic XFA Forms in AEM Forms Designer
Question details
Users need to add bookmarks to dynamic XFA forms so that the bookmarks accurately track expanding sections that reflow when data is entered.

- Product
- AEM Forms Designer
- Device & OS
- not provided
- Scenario
- Adding navigation bookmarks to dynamic, reflowing PDF forms created with Adobe Experience Manager.
- Observed behavior
- Bookmarks added later in Acrobat point to the original static page positions and fail to follow sections that shift or expand dynamically.
Ensure you have access to the original AEM Forms Designer template files, as bookmarks cannot be reliably added to rendered dynamic XFA forms using standard PDF editors.
Add Bookmarks Directly in the AEM Forms Designer Template
Create XFA bookmarks within the original template to ensure they track dynamic sections accurately after rendering.
Dynamic XFA forms merge templates and data every time they are opened, which causes content to reflow. Adding bookmarks after generation in standard PDF editors like Acrobat results in static links that break when content shifts.
By configuring bookmarks at the template level, the links are dynamically generated alongside the form content.
Launch AEM Forms Designer and open your dynamic form template project file.
Use the Designer's built-in bookmarking features or compatible XFA bookmark plugins to assign bookmarks specifically to the form objects rather than page numbers.
Save the template. When the form is rendered and populated with data, the bookmarks will now dynamically target the assigned sections even if the form expands.

Edit the Form's XML Source Manually
Manually insert bookmark tags into the form's XML source code for precise, code-level control.
Need to Edit Standard PDFs? Try WPS Office
While highly specialized dynamic XFA forms require AEM Forms Designer, WPS Office provides a powerful, free, and lightweight solution for all your standard PDF editing, word processing, and spreadsheet needs.
- 1. Download WPS Office: Install WPS Office Free on your device and launch the application.
- 2. Open a Standard PDF: Click 'Open' and select any standard PDF document you wish to edit or read.
- 3. Manage Bookmarks: Navigate to the 'View' tab and open the Bookmark pane to easily add, edit, or remove bookmarks in your standard PDFs.

Frequently Asked Questions
Why do my bookmarks point to the wrong page in a dynamic PDF?
In dynamic XFA forms, content reflows and expands when data is entered. Bookmarks added in a standard PDF editor like Acrobat link to static page coordinates, which become incorrect once the dynamic content shifts downward.
Can I convert an XFA form to a standard PDF to add bookmarks?
Yes. If you no longer need the dynamic, interactive features of the XFA form, you can 'print to PDF' to flatten it into a standard static PDF. You can then add standard bookmarks using any PDF editor.
Are XFA forms supported by all PDF readers?
No. Dynamic XFA forms require specialized PDF viewers like Adobe Acrobat or Reader. Many third-party PDF readers, web browsers, and mobile apps do not fully support XFA rendering and may only show a warning message.
How do XFA bookmarks differ from standard PDF bookmarks?
XFA bookmarks are embedded within the form's template hierarchy and target specific data nodes or interactive objects. Standard PDF bookmarks target fixed page coordinates or destinations, which is why they fail on dynamic, reflowing documents.




