Make imported file use a custom document type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2013 06:26 AM
Hi guys !
I wonder if its possible to make an imported file ( let's say a jpg image for the instance) use a custom document type ( a custom document type extends from Picture )
If I use the 'new document' > 'MyCustomPictureType' and associate it with a jpg file, it works fine. But if I click 'import' then choose my jpg file from disk. It automatically create a Picture document type ( the default one).
Is it possible to associate the JPG extension to MyCustomPicture document type ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2015 11:15 AM
As this question has received a vote, I guess someone may be looking for a clue. I would look at [this extension point](http
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2015 12:09 PM
Changing the default document type works fine But the filter used in the plugin extension point seems to rely only on MIME type. I d rather have the document type used for the creation based, for instance, on the doctype of the parent document, or the default type in the local configuration. I think it deserves a dedicated question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2015 01:02 PM
I guess so, yes, as the mime type was the point of the question.
