3 Replies Latest reply on Jan 30, 2018 11:44 AM by ed_101

    How can I automate the removal and creation of bookmarks?




      I have looked at the API and can't seem to figure out how to tinker the bookmark object to do what I need.


      I have a PDF that I am assembling from other documents. Once it is fully assembled, I need to 1) remove the bookmarks that are generated (I don't need to keep any) and then I need to 2) add in new bookmarks. I'm currently doing it manually every time the document is assembled. I was attempting to write something that would go to the page I need to insert the bookmark (this.pagenum) and then inserting the bookmark, but was unsuccessful.


      Any tips? What successes have you had in adding/removing bookmarks? Is there a better way to do this?

      Thank you!