AnsweredAssumed Answered

Remote call to lucene search

Question asked by rhakaro on Dec 14, 2011
Latest reply on Dec 14, 2011 by rhakaro
Hi there!

I´m trying to make a search in a *.get.js in Share file.

The search I´m seeking for is the next:


var node = search.findNode(nodeRef);

I have read that "search" is only for Alfresco explorer, so now I want to do something like:


var scriptURL= "/cons/search?findNode=" + nodeRef;
var connector = remote.connect("alfresco");
var node = connector.call(scriptURL);

But of course, it doesn´t work.

How can I develop a call to Alfresco explorer "search" to find a node by its nodeRef?? I´m using Share 3.4 Enterprise.

(All of that is for do a "node.removeAspect("cm:versionable");")

Thanks in advance, best regards!

Outcomes