AnsweredAssumed Answered

Is the search api available for share dashlets?

Question asked by daja77 on Jun 24, 2010
Latest reply on Jan 20, 2011 by andrewriver
Hello,

i try to do a simple dashlet that does a lucene query to get all todo items from datalists.
When I try
var nodes = search.luceneSearch("TEXT:todoList");
I get this error
Exception: org.mozilla.javascript.EcmaError - ReferenceError: "search" is not defined.

Is the search api also available in share? Do I have to do some imports?

Outcomes