The sentencing hearing ended and I have the judge-signed order, but the certified packet needs arrest reports and paym…
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.
Adding a link creates a clickable area that can open another file or a webpage, but the linked file is separate. Attaching a file, however, embeds the file directly into the PDF. This means the attached file travels with the PDF, making it self-contained. It is important to know this difference because attached files increase the PDF's size and must be sanitized if they contain sensitive data before sharing.
It is very important to sanitize attachments because they become part of your PDF. If the attachment contains private information, like personal details or confidential data, sharing the PDF will also share that sensitive information. Sanitizing means removing this data to protect privacy and prevent unintended disclosure, ensuring only necessary information is shared.
If you attach a large video file, your PDF's file size will increase significantly. This is because the video file is embedded directly into the PDF, making it part of the document. A larger PDF can be slower to open, send, and download. Consider linking to large files instead of attaching them if file size is a concern, or compress the video before attaching.