I'm new to alfresco and programming, I'm running a webscript where I need to search for a xml file and retrieve its contents to use. The file name will depend on the username but the file retrieved will always be from the same path.
Since this works I've been looking for ways to search for a specific document based on its name (e.g. admin.xml) from the path (e.g.Company Home/Data Dictionary/Models) and once located I want to get its nodeid as a string, once i've done this I can place that string in my above code (e.g. var node = search.findNode("STRING");) and it should work.
I've been searching all over Alfresco's wiki and I thought I could use one of the luceneSearch or findNode API's but I dont understand how to user them (i'm not a programmer). I'm actually doing this part of an University project so I cant really find help from anywhere else.
Could someone please provide me with an example or some help so I can understand the search API's better.
Thanks, Is there any chance to get an example? I'm not a programmer so I don't understand the how to actually use the Lucene search etc.