AnsweredAssumed Answered

Cannot create a rootCategory using javascript api

Question asked by xsp on Jan 18, 2013
Latest reply on Jan 30, 2013 by rwetherall
Hi,

I have my own classification aspect as described below.
Does anyone have the right javascript to create a root category for it? I tried different codes but with no success.


   <aspects>
      <aspect name="sc:amendable">
         <title>Categories</title>
         <parent>cm:classifiable</parent>
         <properties>
             <property name="sc:reasons">
               <title>Categories assigned</title>
               <type>d:category</type>
               <mandatory>false</mandatory>
               <multiple>true</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
      </aspect>
   </aspects>

Thanks very much

Outcomes