AnsweredAssumed Answered

Classification creation fails with: Missing classification

Question asked by sufo on Feb 4, 2011
Latest reply on Feb 7, 2011 by sufo
I'm trying to create my own classification via the WebScript but it fails with the error message: Missing classification: {}taclassifiable
I have defined my own model (<namespace uri="" prefix="ta"/>) in which there is this aspect defined:
      <aspect name="ta:taclassifiable">
         <title>Travel Agency Classifiable</title>
            <property name="ta:categories">
               <index enabled="true">
When I try to execute this code, it generates above mentioned error:
var categoryRoot = roothome.childByNamePath("categories");
var props = [];
props["view:childName"] = "{}taclassifiable";
var classification = categoryRoot.createNode("taclassifiable", "cm:category", props, "cm:categories");
Am I missing something?