As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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 :
Thank you
any idea ?
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.features.upload.jsf.contrib--actions
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&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