12 Replies Latest reply on Oct 21, 2010 10:40 AM by R1S1HARDY

    Script for Searching Entire Active Portfolio

    R1S1HARDY

      I have created the java script set out below within a hyperlink in a document that resides in a portfolio.  Unfortunately, it only searches the currently open document in the portfolio for the word 'marlboro'.  I would like the search performed on the entire portfolio.  What language do I need to replace "ActiveDoc" with in order for the search to be performed on the entire portfolio, not just on the document I currently have open?  Thank you.

       

      search.matchCase = false;

       

      search.wordMatching = "MatchAnyWord";

       

      search.bookmarks = true;
      search.query("marlboro","ActiveDoc");

       

      Rebecca