Expand my Community achievements bar.

Button To Insert Page

Avatar

Former Community Member
Is there a way to create a button that when clicked allows you to attach a page to the end of the document?



also is it possible to embed chemical structures (made with isis) into a form.



For instance like a picture attachment where users click the box and a browse window pops up for a picture attachment, can you do this with isis attachments?



Have A Great Day,

Todd C. Bey
1 Reply

Avatar

Former Community Member
try this Acrobat JS in Designer (Button, CLICK EVENT):



var myDoc = event.target;

myDoc.insertPages ({

nPage: 0,

cPath: "/c/CK.pdf",

nStart: 0

});



change "/c/CK.pdf" to whatever file you are using. It won't work b/c of the security issues but you should be able to work it out.