Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.webengine.sites.core.types--doctype

This contribution is part of XML component org.nuxeo.ecm.webengine.sites.core.types inside nuxeo-webengine-sites-core-contrib-5.6.jar

Extension point

Extension point doctype of component TypeService.

Contributed items

  • <doctype extends="Folder" name="WebSite">
          <schema name="webcontainer"/>
          <!-- the content of webcontainer -->
          <schema name="files"/>
          <facet name="WebView"/>
        </doctype>
  • <doctype extends="Folder" name="WebPage">
          <schema name="dublincore"/>
          <schema name="webpage"/>
          <schema name="files"/>
           <facet name="Commentable"/>
        </doctype>
  • <doctype extends="Document" name="ContextualLink">
          <schema name="common"/>
          <schema name="dublincore"/>
          <schema name="contextualLink"/>
        </doctype>

XML source

<extension point="doctype" target="org.nuxeo.ecm.core.schema.TypeService">
    
    <doctype extends="Folder" name="WebSite">
      <schema name="webcontainer"/>
      <!-- the content of webcontainer -->
      <schema name="files"/>
      <facet name="WebView"/>
    </doctype>
    
    <doctype extends="Folder" name="WebPage">
      <schema name="dublincore"/>
      <schema name="webpage"/>
      <schema name="files"/>
       <facet name="Commentable"/>
    </doctype>
    
    <!-- ContextualLink doc type definition  -->
    <doctype extends="Document" name="ContextualLink">
      <schema name="common"/>
      <schema name="dublincore"/>
      <schema name="contextualLink"/>
    </doctype>        
  
  </extension>