Hello everybody

could someone help me on how to get versionning on my document type which
extends folder?

i have the next contribution but it does not work

<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
    <doctype name="dictamen" extends="Folder">
      <schema name="dictamen"/>
      <schema name="file"/>
      <schema name="files"/>
      <schema name="dictamen"/>
      <facet name="Indexable"/>
      <facet name="Commentable"/>
      <facet name="Versionable"/>
      <facet name="Publishable"/>
    </doctype>

<extension
target="org.nuxeo.ecm.platform.versioning.service.VersioningService"
    point="initialVersionNumber">
    <includeDocType>dictamen</includeDocType>
        <initialVersionNumber>
          <majorVersion>1</majorVersion>
          <minorVersion>0</minorVersion>
        </initialVersionNumber>
  </extension>


Thks. in advanced
-- 
Jesus
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to