Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Button to open Attachment Panel in Acrobat

Avatar

Level 10
Hi,



I am trying to set up a button in LC 8.2, so that when the user clicks it in Acrobat the attachment panel at the bottom of the screen will display.



Any ideas?



Thanks in advance.



Regards,



Niall
3 Replies

Avatar

Former Community Member
Try this command:



app.execMenuItem("ShowHideFileAttachment");

Avatar

Level 10
Thanks Paul,



Worked a treat!!



Regards,



Niall

Avatar

Former Community Member
Is there any way to ensure that the panel is open automatically when a form is opened? I tried including the referenced code in the formReady event but it didn't seem to work.