4 Replies Latest reply on Aug 22, 2012 7:19 AM by stoereee

    [JS][IDSRV5] Generate Index from Book

    stoereee

      Hello,

       

      I'm trying to generate an index from a book file with InDesign Server. With the following script nothing happens, I get an empty index page:

       

      var myIndex = myDocument.indexes[0];
      myDocument.indexGenerationOptions.includeBookDocuments = true;
      
      myIndex.generate();
      

       

      With the desktop version you have to open the book file first. How to approach the book file when generating a full index from all documents within a book?

       

      Regards, Sjoerd