2 Replies Latest reply on Oct 19, 2010 6:39 AM by R1S1HARDY

    Need JavaScript for Searching Entire Portfolio

    R1S1HARDY

      I am not sure if I am in the right forum.  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");