cancel
Showing results for 
Search instead for 
Did you mean: 

New Document Type in Nuxeo Studio

carlosrg_
Champ on-the-rise
Champ on-the-rise

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?

1 ACCEPTED ANSWER

Brian_T
Confirmed Champ
Confirmed Champ

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>

https://gist.github.com/tingletech/7574407

View answer in original post

2 REPLIES 2

vjoussot_
Star Contributor
Star Contributor

I tell me the same question

Brian_T
Confirmed Champ
Confirmed Champ

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>

https://gist.github.com/tingletech/7574407

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.