AnsweredAssumed Answered

Javascript API - createRootCategory and some subCategories

Question asked by stebans on Feb 7, 2008
Latest reply on Feb 7, 2008 by mikeh
Hi,

As the classification method
createRootCategory(aspect, name)
returns undefined instead of the expected CategoryNode (see http://issues.alfresco.com/browse/AR-2074) even if the category is indeed created,
and as
getRootCategories
doesn't reflect the change immediately (it doesn't contain the newly created top level category),
what would be the best alternative to create a root category and its subcategories using the Javascript API, if any?

All the best,
Stephane

Outcomes