Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.routing.dm.conditionalfolder.contentTemplateContrib--factoryBinding

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dm.conditionalfolder.contentTemplateContrib inside nuxeo-platform-document-routing-dm-5.6.jar

Extension point

Extension point factoryBinding of component ContentTemplateService.

Contributed items

  • <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
          <template>
            <templateItem description="Decisional task" id="routeDocStep" title="ConditionalTask" typeName="ConditionalTask"/>
            <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
            <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
          </template>
        </factoryBinding>

XML source

<extension point="factoryBinding" target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService">

    <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
      <template>
        <templateItem description="Decisional task" id="routeDocStep" title="ConditionalTask" typeName="ConditionalTask"/>
        <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
        <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
      </template>
    </factoryBinding>

  </extension>