How adapt the option "Import Intelligent with metadata" in a long drag'n drop depends on default document's type where we are?

Hello,

I would like have the metadatas of the default document's type authorised in the space where I am.

For example :

When I'm in the subspace “Domain1”/“Space1”/“SubspaceDocType1” : in this subspace, the default type document is “DocType1”. So, when I do a long drag'n drop, I would like that the Import Intelligent with metadata offers only the doctype1's metadatas.

When I'm in the subspace “Domain1”/“Space1”/“SubspaceDocType2” : when I do a long drag'n drop, Import Intelligent with metadata offers only the doctype2's metadatas.

I do what it's explained in this answer but that doesn't make what I want exactly because it adds the metadatas of doctype1 and doctype2.

I think that perhaps the change of dataCollector in DndFormActionBean.java could be ok but I don't know exactly how ?

Do you think there is a possibility to make what I want ? Thanks

2 votes

0 answers

1783 views

ANSWER