[JS][IDSRV5] Generate Index from Book

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

love_all wrote:
Hi Sjoerd,
Try with instead of myDocument assign your var as book
like this:
var myBook= app.activeBook;
Regards,
love_all
var myIndex = myBook.indexes[0] is not supported.
How could I generate an index from all documents collected in a book?

Similar Messages

  • InDesign CS3 Crashed when making Index from Book

    Hi,
    I'm trying to make an Index from a book, there are 25 documents and it's about 2300 pages in all - HUGE-. Unfortunately I can't tell which of the documents is causing my crashes, the processing windows flash by too quickly to be able to read.
    I've gone through all of my documents had have checked the "update Preview" icon at the bottom of the Index pallet. I've read forums that are saying that it may be as simple as having my workspace on "basic" and not customized, I'm doing that.
    I'm at the point where I'm adding a document at a time to my book and generating the index again and again and agian.....to try to narrow down the "problem child" document.
    I've been dealing with this for days now, if anyone has any suggestions, I'm all ears! :)
    Thanks!

    I've been having the same problem with my book (32 documents besides the index, 545 pages) ever since yesterday, when I went from two partially indexed chapters to five partially indexed chapters. I spent about 10 hours yesterday creating topics, references, and cross-references, but ever since ID crashed, the index tool window shows only a small fraction of the topics I've *ever* created for this index are even showing up.
    I'll do the same as Alexa and, working on the assumption that this is being caused by a corrupted chapter/document, will systematically isolate all documents until I find the one causing the crash.  I'll report back on what I learn, but I'd really like to hear from anyone in the same boat (or even better, anyone who *was* in the same boat but found a way to stop the crashes and maybe even recover all the index elements).
    Thanks in advance,
    Michael

  • I am able to generate PDF from Framemaker file but not able to generate pdf from book in robohelp

    Hi,
    Using robo help i am able to generate pdf  from a single framemaker file.
    but when i am importing whole book then i am not able to make it.
    And also it is not showing any error on console
    It goes to hang like situation and i have to close it from task maneger.

    Ok, silly question - why are you bothering to try and create PDFs from RH when you've got FM? FM to PDF produces great results; RH to PDF involves having to go through Word - i.e. RH - Word - PDF = too much work IMHO.

  • InDesign 5.5 crashes when generating PDF from book file

    I hope someone can help!
    My employer has agreed to upgrade from CS3 to CS5.5 and I will receive the install disks next week. In the meantime, I downloaded the trial version of CS 5.5 Design Premium and installed only Illustrator, InDesign, Photoshop, and Acrobat. I kept CS3 on my system.
    My problem is with InDesign5.5. I can generate a PDF of a single page, but I cannot do the same for a multi-page document (10 or so files) from the book window. InDesign immediately crashes (unexpected close message) but doesn't close until I force quit the application. When both CS3 and CS5.5 were on my machine, I was having the same problem even with CS3.
    I removed CS5.5, but still had the same problem with CS3. Tried reinstalling CS3, but continued to have the same problem. Removed CS3 and re-downloaded CS5.5. Same problem. Removed CS5.5 again and completed a fresh install of CS3. This finally worked to allow me to use CS3 successfully again.
    However, I need to be able to work with newer InDesign files that have been created in ID5.5 and can't do this without installing the new disks that arrive next week.
    What can be the problem?
    OS: Windows XP Professional 2002, SP 3
    Computer: Intel(R) Core(TM)2 Duo CPU T9600, 2.80 GHz
    Memory: 3.48 GB of RAM
    Video card: 512 MB NVIDIA Quadro RX 2700M
    Thank you!
    Jenny

    Yes, I would try to create a new master document and import the separate files. Even if you have saved all files to CS5.5 spec, there might still be some lingering meta data from the previous version and a fresh import might at least reveal such conflicts or ideally provide a clean slate by dismissing this outdated legacy stuff on import. If you are happy with CS5.5 and everything works, you can get rid of CS3, but I recommend to keep it around, even if you don't use it actively (maening löeave it installed, only deactivate it). Especially the CS3 installer is a fragile creature and a uninstall gone wrong might cause you more trouble than just letting it catch dust on your harddrive. See this article and the other ones related to it on my site for some considerations.
    Mylenium

  • Updating index from Word file in Book feature

    I prepared a book using the book feature. 15 chapter files making up the book. The client is going to supply the Index as a Word file with page numbers from his book's word file, which I was hoping to spill into a file in the book and Update the page numbers. I have done this when the book is all one file, but will it work in the book feature? Also, what if a thread is broken somewhere (there were lots of photographs and I think that may have happened a few times). Will that effect the indexes ability to update the page numbers (provided it even works in the Book feature)?
    Thanks!

    Little Toddler wrote:
    The client is going to supply the Index as a Word file with page numbers from his book's word file ...
    That's No Good. The page numbers as they were in the original Word file are worthless.
    .. which I was hoping to spill into a file in the book and Update the page numbers.
    InDesign cannot update the page numbers in an index that was created with Word.
    I have done this when the book is all one file, but will it work in the book feature?
    Uh. Perhaps you did not (see above). Only if you made this index entirely in InDesign is when that's possible. (But yeah, "Include Book" is an option in the Generate Index dialog.)
    Also, what if a thread is broken somewhere (there were lots of photographs and I think that may have happened a few times). Will that effect the indexes ability to update the page numbers (provided it even works in the Book feature)?
    Proper or improper threading is not a problem.
    The problem is you must distinguish between an index made in Word and one made in InDesign -- and I mean "made with", not just "typed in". If your writer supplies you an index made in Word, you can throw it out of the window. What good are his page numbers to you? You can only mimick his index (sort of) if your processed InDesign files still contain the original Index Markers that the author used in Word, and then you are using the same workflow, not "updating the author's index".
    If there are no index markers in your InDesign files, that's where it stops for you. Perhaps you want to insert them, one by one, in their original location (using the supplied index as a guide) -- only then you can create an up-to-date index with InDesign and using your page numbers.
    There is another option: if your author used Word's features to generate the index with, he could try the opposite. That is, you hand him a PDF of the latest version of your book, and he inserts page breaks and adjusts page numbering in his Word document to match yours, word by word. This can be done quite fast because all other formatting is not important -- it's the What's on this Page Number that counts. When done, the author can use Word again to re-generate the index, and hey! the page numbers will match the final version!
    Of course this only works when the author actually used Word's native indexing facility -- if he typed in each entry and its associated page numbers, you got yourself quite a job trying to find what word went where in your version.

  • Gray box for logo generating pdf from fm book

    Greetings,
    I have a large FrameMaker book that I've generated pdfs from a million times. We cleaned up our logo, so I dropped it in and tried to generate the usual pdf. a gray box resulted for the logo only. all other artwork displayed fine. i tried scaling down the logo, changing formats, changing import methods, etc. all failed. however, generating a pdf from the book if I remove a few chapters gives me my logo. Am I running out of resources? I'm using tech comm suite 1.3 on vista. There are no clues in the acrobat log. show large images is turned on in the adobe reader.
    I used the obvious workaround: generated two pdfs, one with just the logo page and one with the rest of the book, then combined them. But this process is not practical long term. Any clues?

    A couple questions:
    What format is the new logo file?
    Given that it works with some component files, but not in the book... I'd guess that it may be a resource issue. How much RAM and free space do you have?
    And when you "dropped it in," does that mean imported into one file by reference, or copied in, or imported into a template that you used to update all files in the book..... or something else? And if it did update multiple files, did you double-check them to make sure the path to the graphic is correct?

  • Generating indexes in ds 5.2 from command line

    Hi;
    Could somebody please tell me how to generate the indexes from command lines without using the db2index.pl script. I cannot use this script as we donot have the necessary perl modules to resovle the password.
    your response is much appreciated
    thanks

    You don't need the necessary Perl modules, they are provided with the directory. So this command should work.
    And what do you mean by "resolve the password"?
    Other than that you can use db2index but your sever will have to shut down first. The db2index.pl can be run while the server is running. For usage please refer to the product documents at docs.sun.com in particular
    http://docs.sun.com/source/817-7613/indexing.html
    Regards,
    -Wajih

  • Generated index is missing indexed items

    Working with book and separate chapter for index. Index generates but is missing index entries. Is it something I'm doing or an InDesign problem?

    Thanks for input. All available updates have been applied. Long telcon with India so far has produced no cure but at last they are 'escalating' problem to find a solution. It seems to only happen in the 'Symbols' heading (non-alphabetic entries) of the index. Not only are items missing but reference page numbers are missing and/or scrambled. Looks like several indexed subjects are loosing page references and/or picking up page references from following index lines. If you can read the image attached you'll see what I'm talking about if you compare the index flyout lines with what shows up in the generated index. Quite a time consuming pain. It took me almost an hour on the phone to get India to the point they wanted to see this.

  • Generate Index causes problems - any solution yet?

    Hi all,
    I searched the forum and knowledgebase, but i'm totally puzzled.
    What is the best solution to avoid Indesign CS3 (5.0.3) from crashing when generating an index from a book with multiple documents containing references?
    Is it the script from Ole to convert the book to one document?
    Is it updating preview on each document (updating preview also crashes)?
    Is it something else? Or is there a plug-in i could use?
    As I said before, i have Indesign CS3 version 5.0.3.
    Many thanks in advance,
    Glen Bal

    Netflix are dropping Silverlight, they have already done so for Internet Explorer 11, and will do the same for Safari in Yosemite.
    They are using the new HTML5 Premium Video feature of Safari in Yosemite which signficantly improves battery life.
    See http://techblog.netflix.com/2014/06/html5-video-in-safari-on-os-x-yosemite.html
    (Personally I think the reason Netflix are doing this is nothing to do with battery life but down to the fact Premium Video Extensions includes DRM support ugh! for the first time in HTML5 and the fact that Silverlight is gradually being adbandoned by Microsoft. See http://gigaom.com/2010/10/29/microsoft-giving-up-on-silverlight-joining-html5-pa rty/)

  • System generated index property not generated in database

    Hi,
    I created an offline table by copying it from an (first) online database to my project. The table contains a unique key constraint, which references a system generated index. Now I used this offline table to generate a table in another (second) online database. This all works well except, that the "System Generated" property of the index is "false" and not "true" as in the offline table (and the first online database). When I manually reconcile the same table to the second online database again, there is always a difference shown for this index property. When I try to continue the reconcile process to change this property I get an error message, that the index cannot be dropped because it is obviousely referenced by the unique constraint.
    When I drop the constraint and try to generate the index only I get the following warning message:
    Jan 11, 2012 2:08:59 PM oracle.javatools.db.property.AbstractPropertyManager processDiffs
    WARNING: Unsupported property: systemGenerated
    Is there a way to work around this annoying behavour? Is it possible to change this index property by an ALTER INDEX statement?
    Im using JDeveloper 11.1.2.1.0 (Build JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081)
    Thanks for help and hints
    Thomas
    Edited by: thmayr on 11.01.2012 05:08

    Hi,
    it might be due to some BUG in RDBMS...
    First Check the Secondary index in TEST system
    Look at the Transport Number in DEV system, If this is having error, then it will show you the error details also,
    If that not moved Properly then you need to create another request for the INDEX and move it again
    See the threads with similar problem...
    Warning: Index does not exist in database system MSSQL
    Index does not exist in database system ORACLE??????
    Re creation of database index
    Hope it will solve your problem...
    <b>Reward Points if useful</b>
    Thanks & Regards
    ilesh 24x7

  • How do you automate the point size of page numbers in a generated index?

    In Framemaker 10 I have a generated index for a book. The indexed items are in point size 10 but the generated page numbers come out in 12 pt.
    Can I automate the page number size to be 10 pt?
    I have tried defining a character tag IndexPage Numbers and entered the following on the index Reference page:
    Level1IX
    <IndexPageNumbers><$pagenum>
    Level2IX
    <IndexPageNumbers><$pagenum>
    but this does produce the desired point size.
    Thanks

    Error,
    I was just generating an index today and had this weird behavior. The level1IX, level2IX, and level3IX entries formatted as expected (TNR, 11pt, plain) but the markers and page numbers displayed as 24pt, bold, Arial which matched the IndexIX format. What is that format for anyway? My user guide does not mention its purpose.
    I looked at the reference page and there was a paragraph formatted as IndexIX with this content:
    <$pagenum>
    It was 24pt, arial, bold, and centered.
    Another manual had an index that formatted properly last week but it too had the above <$pagenum> tag. So it's confusing as to the different behavior.
    I reformatted the <$pagenum>/IndexIX paragraph to TNR, 11pt, plain (in the index file), regenerated the index, and now the page number formatting matches the entry formatting.
    Again, is IndexIX the format for the index page numbers only and why does Frame insert <$pagenum> in the Index spec. on the reference page?
    Yours,
    Michael F.
    ~~~~~~~~

  • HELP! CS2 hyperlink index to book pages for PDF

    Hi there, would really appreciate any help with this.
    We need to make an interactive PDF with a fully searchable index using InDesign CS2 (windows platform on PC).
    Currently we place text into CS2 InD doc templates, format it, then add all docs into InD Book. A PDF is made from the book and the author indexes from this PDF. He supplies a Word document with Index topics etc and page numbers. This is placed into InDesign, formatted, then loaded into the Book.
    To make the text as interactive as we require in the final PDF, we use InD TOC to adds bookmarks as we need, we also manually add hyperlinks in InD to jump back to the contents page from any given page.
    However we need the Index in the PDF to be fully interactive - ie when you click on a page number in the Index, it will take you to that page. For various reasons we do not want to use InD indexing (which would i gather add hyperlinks) or Indexing facility in Word which also adds hyperlinks by carrying fields over from Word.
    Is there a InD script that could just pick up all page numbers in the Index and connect them to the actual page where the word appears? Without any need for text tagging, or marking or using Index palette?
    I'm sorry but we have no experience of writing scripts (though have used the Endnote script to enable Endnotes to be used in InDesign).
    Any ideas would be very very welcome.
    Thanks for your time!
    Emma

    I think the export feature in InDesign is a feature of that product and not Acrobat. Thus you will need to ask in that forum. There are folks here that may know because they also have InDesign. The long link names and potential problems suggests that you have an option in the export incorrectly selected and you are actually not using links. Acrobat will try to interpret things it sees as links as such (like WORD and other products) but may not get them right if they are strange links. In such a case you have 2 options: 1. Be sure you have the proper feature selected for exporting the links (so they are included) or 2. Fix the links so they satisfy proper URL formatting. For instance, spaces are not standard in links, even if MS products like to use them.

  • System generated Index names different on target database after expdp/impdp

    After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different names on the target database, which caused a major issue with GoldenGate. Could anyone provide any tricks on how to perform the expdp/impdp and have the same system index name generated to be the same on both source and target?
    Thanks in advance.
    JL

    While I do not agree with Sb choice of wording his solution is correct. I suggest you drop and recreate the objects using explicit naming then you will get the same names on the target database after import for constraints, indexes, and FK's.
    A detailed description of the problem this caused with Golden Gate would be interesting. The full Oracle and Golden Gate versions is use might also be important to the solution, if one exists other than explicitl naming.
    HTH -- Mark D Powell --
    Edited by: Mark D Powell on May 30, 2012 12:26 PM

  • I wish to generate reports from the database an out put it but i need to enter a date from and to ina  html input box

    i wish to generate reports from the database an out put it
    but i need to enter a date from and to ina html input box
    in the input box a data of range will be input from a start
    to latest
    latest being the default as today's date.
    any help tips snipplets, concepts , turot=rails.
    thanks

    easycfm.com has tutorials for people who are brand new.
    If you don't know much about sql, I have heard good things
    about the book, Teach Yourself SQL in 10 Minutes by Ben
    Forta.

  • Need Mapping Help: Generate index if value comes

    Hi Experts,
    I need mapping help to generate index if value comes form source. we have 4 fields in item level of source and target side we have to pass the these filed values and sequence number.
    below given the structures:
    Source:              Target:
    Item                    Item
       A1                      Text
        A2                      Seq_No
        A3
        A4
    my requirement is if A1 filed values comes from source we should pass to text and pass seq_no to constant-1, same as A2,A3 and A4 filed values also we should pass to text and seq_no for A2 is 2 and A3 is 3 and A4 is 4. suppose if A1 value is not coming from source we should pass seq_no for A2 is 1. if A1 and A3 filed values are not coming from source then we should pass seq_no for A2 and A3 are 1 and 2.
    can you please help me how to achieve this. appreciate for your support.
    Regards,
    Sanjay.

    Hi Sanjay,
                      you can  try this mapping
    1. Generate the target 4  ITEM's  by duplicating the subtree as shown below 3 times.
    Now create the each target item starting from first by mapping them to A1,A2,A3 and A4 respectively. I have shown the first ITEM mapping above. similarly you can map A2 to ITEM[1],
    A3 to ITEM[2] and A4 to ITEM[3].
    2. Now you can map the A* fields to Text one to one as shown below
    Please repeat the same for A2,A3 and A4 to respective Text fields.
    3. 
    First seq_no field as shown
    and similarly others as shown
    Regards
    Anupam

Maybe you are looking for

  • HELP: I just need to import my photos!

    I just got my MacBook a couple weeks ago and am trying to import all my old photos to iPhoto. I have all my photos organized in folders on a couple CDs. But when I try to "Import" (through the iPhoto menu) or drag-and-drop the photos into iPhoto, I g

  • I bought the WRT350N Now I need help

    Bought the WRT350N but everything I’ve heard and read about this router is that it's garbage which I find hard to believe that Linksys would release an item that did not work if configured right. I have 3 laptops (all factory built-in wireless connec

  • Best approach to do Range partitioning on Huge tables.

    Hi All, I am working on 11gR2 oracle 3node RAC database. below are the db details. SQL> select * from v$version; BANNER Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production PL/SQL Release 11.2.0.3.0 - Production CORE 11.2.0.3.

  • WAD cannot be saved

    Hi I made changes to my webtemplate and tried to save it. When i click on the save button, the following msg is displayed and changes cannot be saved When i open the template, the following is the message that appears R9 Components! [version A] do no

  • Iphoto no longer works =(

    Over the holidays I burned a disk of photos from my in-laws brand new imac, which I am certain uses iphoto '09. My mac uses iphoto '08. After launching the disk to my Mac and opening/copying the photos to iphoto- it completely shut down. Now I cannot