AnsweredAssumed Answered = null

Question asked by pigtaro on Feb 21, 2009
Latest reply on Feb 26, 2009 by pigtaro
Hi All,

This is my first post. I am trying to add category to a new document. From the web, i got the following code:

var catNodeRef = search.luceneSearch("…");
var cats =["cm:classifiable"];

I keep getting null error. After turning on the Alfresco Javascript debugger, i discovered that is null. Been searching for the web ever since, but unable to get answer. How do i instantiate the properties attributes in the document?