Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.platform.TemplateSources.types.contrib--types

This contribution is part of XML component org.nuxeo.platform.TemplateSources.types.contrib inside nuxeo-template-rendering-core-9.10.jar /OSGI-INF/types-contrib.xml

Extension Point

Extension point types of component TypeService.

Contributed Items

  • <type coretype="TemplateSource" id="TemplateSource">
          <label>TemplateSource</label>
          <icon>/icons/sourcetemplate.png</icon>
          <bigIcon>/icons/sourcetemplate_100.png</bigIcon>
          <default-view>view_documents</default-view>
          <category>SimpleDocument</category>
         <layouts mode="create">
           <layout>heading</layout>
           <layout>templateOptionsWizard</layout>
           <layout>templateOptions</layout>
           <layout>fileWithoutTemplate</layout>
          </layouts>
          <layouts mode="view">
            <layout>heading</layout>
            <layout>templateOptions</layout>
            <layout>templateParams</layout>
          </layouts>
          <layouts mode="edit">
            <layout>heading</layout>
            <!-- <layout>templateOptions</layout>  -->
            <layout>fileWithoutTemplate</layout>
          </layouts>
        </type>

XML Source

<extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">

    <type coretype="TemplateSource" id="TemplateSource">
      <label>TemplateSource</label>
      <icon>/icons/sourcetemplate.png</icon>
      <bigIcon>/icons/sourcetemplate_100.png</bigIcon>
      <default-view>view_documents</default-view>
      <category>SimpleDocument</category>
     <layouts mode="create">
       <layout>heading</layout>
       <layout>templateOptionsWizard</layout>
       <layout>templateOptions</layout>
       <layout>fileWithoutTemplate</layout>
      </layouts>
      <layouts mode="view">
        <layout>heading</layout>
        <layout>templateOptions</layout>
        <layout>templateParams</layout>
      </layouts>
      <layouts mode="edit">
        <layout>heading</layout>
        <!-- <layout>templateOptions</layout>  -->
        <layout>fileWithoutTemplate</layout>
      </layouts>
    </type>

  </extension>