10-16-2012 08:07 AM
I well understood if I drag'n drop with a pause or not on the active zone, the behavior is different as explained here.
I modify the default document created after a drag'n drop as following:
I would like know adapt the drag'n drop behavior to let me define the form to display after a "long" drag'n drop.
Please help me.
10-16-2012 08:11 AM
With studio, this is quite simple:
Contribute in Advanced Settings > XML Extensions
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="Chain.FileManager.ImportWithMetaDataInSeam"
link="/nuxeo/dndFormCollector.faces?schema=yourschema&layout=dndEdit%40create@create"
order="30" label="label.smart.import.with.md"
help="desc.smart.import.with.md">
<category>ContentView</category>
<filter-id>create</filter-id>
</action>
</extension>
yourschema is the name of the schema defined into your doc type (value in your Schema, in the prefix field).
Then create a Layout in Search And Listings > Layout that you will name dndEdit. The form you will display must be deinfed into the Creation Layout tab, and metadata can be defined in only one schema.
Hope this will help you.
10-16-2012 08:11 AM
With studio, this is quite simple:
Contribute in Advanced Settings > XML Extensions
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="Chain.FileManager.ImportWithMetaDataInSeam"
link="/nuxeo/dndFormCollector.faces?schema=yourschema&layout=dndEdit%40create@create"
order="30" label="label.smart.import.with.md"
help="desc.smart.import.with.md">
<category>ContentView</category>
<filter-id>create</filter-id>
</action>
</extension>
yourschema is the name of the schema defined into your doc type (value in your Schema, in the prefix field).
Then create a Layout in Search And Listings > Layout that you will name dndEdit. The form you will display must be deinfed into the Creation Layout tab, and metadata can be defined in only one schema.
Hope this will help you.
12-16-2013 01:33 PM
I used the above script, but returned the following error:
/ layouts / layout_listing_ajax_template.xhtml 146.59 @ value = "# {value.data ['dc'] ['title']}": Target Unreachable, 'data' returned null on 'java.util.HashMap'
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.