 
					
				
		
12-12-2007 11:29 AM
 
					
				
		
01-30-2008 05:52 AM
var cats = document.properties["cm:categories"];
//list categories
for (var i = 0; i < cats.length ; i++)
{
   var catName = cats[i].name;
   document.content += "—————>"+catName+"\n";
   
}
//add one category
var root_cats =  classification.getRootCategories("cm:generalclassifiable");
var cat = root_cats[1];
cats.push(cat);
document.properties["cm:categories"] = cats;
document.save();
 
					
				
		
11-24-2008 06:39 AM
upload.addAspect("cm:generalclassifiable");
 
					
				
				
			
		
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.