AnsweredAssumed Answered

Availablity of NodeService in Share (or best way to query for a child node)

Question asked by rhinmass on Nov 28, 2013
Latest reply on Nov 30, 2013 by rhinmass
I am trying to understand the best way, from a Share webscript, to obtain a specific child node when the parent node and child name is known.

I have tried to use the NodeService, as in , but I am having trouble getting the NodeService injected into my webscript.  Is there a way to use NodeService from share?

The other way I have tried is using the SearchService with a lucene query.  This is sub-opimal because the lucene query returns a fuzzy match.  Therefore to get an exact match I have to cycle through the results pulling out the name and doing a string compare with the target name.

Is this the best way to go about this task?

I am using Alfresco 4.2.c