cancel
Showing results for 
Search instead for 
Did you mean: 

Space Search...

snig
Champ in-the-making
Champ in-the-making
Hi

Is there anything wrong in searching a "space node" by the search api?

I passed the nodeRef of a space from FTL to the script API. And when in the API, I try to search the node, it returns NULL.

var myNode = search.findNode(<<nodeRef passed from FTL>>);

The nodeRef being passed from the FTL is correct, as I can see the node in the Node Browser by searching by the specified nodeRef. But unfortunately, in the javascript code, it returns null.

Am I missing something?

Please help…

Snig.
4 REPLIES 4

kevinr
Star Contributor
Star Contributor
Which version of Alfresco are you using?

snig
Champ in-the-making
Champ in-the-making
version 1.4

kevinr
Star Contributor
Star Contributor
I _think_ there was a problem with this method in 1.4 that was fixed for 1.4E and 2.0.

Thanks,

Kevin

snig
Champ in-the-making
Champ in-the-making
Thanks Kevin…
I'll try this in v2.0 and let you know.