AnsweredAssumed Answered

Creating Nodes without versioning

Question asked by mitschi on Oct 20, 2010
Latest reply on Oct 20, 2010 by savic.prvoslav
Hello,

is it possible to create Nodes via the JavaScript API (from a WebScript) which is NOT versioned by default? I've set all autoVersion Fields I know to false, but every time i add a node, it's still versioned. (Code on the end of post)

Thanks for help in advance!
Yours,
Mitschi

contentModel.xml
 
    <aspect name="cm:versionable">
         <title>Versionable</title>
         <properties>
            <property name="cm:versionLabel">
               <title>Version Label</title>
               <type>d:text</type>
               <protected>true</protected>
            </property>
            <property name="cm:initialVersion">
               <title>Initial Version</title>
               <type>d:boolean</type>
               <default>false</default>
            </property>
            <property name="cm:autoVersion">
               <title>Auto Version</title>
               <type>d:boolean</type>
               <default>false</default>
            </property>
            <property name="cm:autoVersionOnUpdateProps">
               <title>Auto Version - on update properties only</title>
               <type>d:boolean</type>
               <default>false</default>
            </property>
          </properties>
      </aspect>

Outcomes