6 Replies Latest reply on Apr 19, 2011 10:45 AM by stoereee

    [JS IDCS5] A specified file is missing


      When the source of the imported XML element href is missing, the JavScript breaks and the event log of the InDesign Server warns the following:


      [xml] A specified file is missing: image.gif [660] [18383]
      JavaScript Error!
      Error number: 2
      Error string: User cancelled the action: myDoc.importXML(XML);


      Is there a possible way to avoid this warning and keep on running the JavaScript, even when the source of a href element is missing? Maybe replacing an image when source is missing will be option? Or could XSLT do something to avoid this warning?


      Regards, Sjoerd