New Document Type in Nuxeo Studio

I created a new document type in Nuxeo Studio. When I use the Drag and Drop the imported file does not use the new Document Type, but the old. How do to make this new document type as default?

0 votes

1 answers

2556 views

ANSWER

I tell me the same question
11/14/2013



Say you have document types SampleCustomPicture, CustomVideo, and CustomAudio – under “Projects>Advanced Settings>XML Extensions” do “+New” and create an extension with this content:

<require>org.nuxeo.ecm.platform.picture.filemanager.contrib</require>
<require>org.nuxeo.ecm.platform.video.filemanager.contrib</require>
<require>org.nuxeo.ecm.platform.audio.filemanager.contrib</require>

<extension target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService" point="plugins">
    <plugin name="Imageplugin" merge="true" docType="SampleCustomPicture" />
</extension>

<extension target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService" point="plugins">
    <plugin name="VideoImporter" merge="true" docType="CustomVideo" />
</extension>

<extension target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService" point="plugins">
    <plugin name="AudioImporter" merge="true" docType="CustomAudio" />
</extension>

0 votes