Expand my Community achievements bar.

Need JavaScript for Searching Entire Portfolio

Avatar

Former Community Member

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");

2 Replies