12-12-2012 06:35 AM
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
01-02-2013 05:48 AM
any idea ?
01-09-2013 07:10 AM
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&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
01-11-2013 12:35 PM
Thanks a lot for your answer, I actually managed to do it with
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.