cancel
Showing results for 
Search instead for 
Did you mean: 

How to force the "intelligent import with metadata" ?

Julien_A_
Champ on-the-rise
Champ on-the-rise

Hello,

When I drag'n drop some files into Nuxeo, how can I force the "intelligent import with metadata" behaviour ?

I want to force this screen to appear everytime :

capture

Thank you

3 REPLIES 3

Julien_A_
Champ on-the-rise
Champ on-the-rise

any idea ?

Thierry_Delprat
Confirmed Champ
Confirmed Champ

Hi,

The Drag&Drop system will propose all import actions that have been defined active in the given context. This should be explained in the doc : http://doc.nuxeo.com/x/c4ao

These actions are defined in an XML contribution : http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewContribution/org.nuxeo.ecm.automation....

If you are interested in the configuration for the Drag&Drop on the main ContentView zone, the 2 default actions are :


<action help="desc.smart.import.file" id="Chain.FileManager.ImportInSeam" label="label.smart.import" link="" order="10">
    <category>ContentView</category>
    <filter-id>create</filter-id>
</action>
<action help="desc.smart.import.with.md" id="Chain.FileManager.ImportWithMetaDataInSeam" label="label.smart.import.with.md" link="/nuxeo/dndFormCollector.faces?schema=dc&amp;layout=dndEdit" order="30">
    <category>ContentView</category>
    <filter-id>create</filter-id>
</action>

So, if you want the ImportWithMetaData to be "by default", the best option may be to simply disable the Chain.FileManager.ImportInSeam action, so that Chain.FileManager.ImportWithMetaDataInSeam becomes the default ...

Hope this helps.

Tiry

Thanks a lot for your answer, I actually managed to do it with

Getting started

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.