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.
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.
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.
Default type can be forced after adding the UITypesLocalConfiguration facet by setting the uitypesconf