Across past integrations, missing timing or sequence info generated rework. Diagnose which parts of interaction diagra…
Open the PDF file you want to audit in Adobe Acrobat Pro.
Go to the View menu, select Show/Hide, then choose Navigation Panes and click Attachments to display all file attachments.
NoteThe Attachments pane lists all files embedded in the PDF.
In the Attachments pane, manually review and note each attachment or use the options menu to export or save the list if needed.
Go to the Tools pane and select Action Wizard.
Create a new action and add a step to execute JavaScript.
Insert a JavaScript to iterate through all links in the document and output their destinations; for example, use: for (var p = 0; p < this.numPages; p++) { var annots = this.getAnnots({nPage: p}); if (annots) { for (var i = 0; i < annots.length; i++) { if (annots[i].type == 'Link') console.println('Page ' + (p+1) + ': ' + annots[i].URI); } } }
Best practiceYou can copy the console output to a text file for compliance documentation.
Run the action to generate the list of all links; review the output in the JavaScript Console (open via Ctrl+J if not visible).
NoteThis process lists all web and document links but does not export them directly to a file.
You can use the JavaScript Console to extract and review all link destinations in your PDF for auditing purposes.
This runs in the Acrobat app - there is no separate API for this task.
| Feature | Purpose | How it works |
|---|---|---|
| Link | To navigate or connect to other content. | A clickable area that jumps to a URL, another PDF page, or file. |
| Attachment | To embed other files within the PDF. | A separate file that is stored inside the PDF document itself. |
It is very important to sanitize your PDF, especially when it contains attachments, because attached files become a permanent part of the PDF. If an attached document has sensitive or private information, that information will be shared with anyone who receives the PDF. Sanitizing removes this private data, protecting your privacy and the privacy of others before the document leaves your computer.
If you add a link to a website in your PDF, the link itself will remain the same. However, if the website's address (URL) changes or if the specific page you linked to is moved or deleted, the link in your PDF will no longer work correctly. It's a good idea to check your links periodically, especially for important documents that will be used for a long time.