Is it possible to have a bookmark with a link to open the attachments pane? If you carefully read hyperref packege you'll see that the \Acrobatmenu alows you to have links that enables you to open and show a lot of menus and options in Adobe Acrobat. But I don't see any attachments pane option.

Is it possible? Is there any workaround or way to achieve this?

I've also looked with javascript but I can't find any info regarding this :(

From this excelent site you can see the available options for \Acrobatmenu:

enter image description here

Thanks for the help


Officially the PDF format (specification) only supports four named actions: NextPage, PrevPage, FirstPage, LastPage.

It depends on the PDF viewer, which other non-standard actions might be supported.

The JavaScript API reference lists names in the description of method execMenuItem of object app. There the name ShowHideFileAttachment can be found. It does open the attachment tab, if it was closed, and closes it, if it was opened.


% \hypersetup{pdfpagemode=UseAttachments}
\Acrobatmenu{ShowHideFileAttachment}{Show/hide file attachments}
]{Show/hide file attachments}  

An alternative to open the attachment tab is the PageMode setting that is only used, when the document is opened:


Combinations with other tabs (bookmarks/thumbs/...) are not defined in the PDF specification.

  • It is not possible to use a \Acrobatmenu 'button' from your hyperref package then to open/close the Attachment pane? – user31729 May 14 '14 at 18:23
  • 1
    @ChristianHupfer: It's pretty much the same. I have added it to the example. – Heiko Oberdiek May 14 '14 at 18:30
  • 1
    I have to praise you Heiko!! You always have the (correct) answer! Amazing! You truly are the PDF guru! That worked like a charm! – Pedro May 14 '14 at 18:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.