Drag and Drop Import and document types definition

I would like, after drag and drop, to force the document type according to criterias such as parent document type. It seems the doctype can only be defined acording to the MIME type of the file.

1 votes

1 answers



Default type can be forced after adding the UITypesLocalConfiguration facet by setting the uitypesconf:defaultType to the desired doctype

All those behaviours are implemented via File Manager plugins. See https://doc.nuxeo.com/x/K4MlAQ

By default the “File” type is chosen for default type when it cannot be matched to a picture a sound or a video or a Note. Locally it is possible to choose another document type (see local preferences). If you want to change the global behaviour you will have to deploy a new custom file manager.

1 votes