01-11-2013 12:43 PM
I define a new Document Type "montype" with a new icon like this :
<type id="montype">
<label>Mon Nouveau Type</label>
<icon>/icons/montype-16.png</icon>
<bigIcon>/icons/montype-100.png</bigIcon>
<category>SimpleDocument</category>
<description>montype.description</description>
<default-view>view_documents</default-view>
<layouts mode="any">
<layout>montype</layout>
<layout>file</layout>
</layouts>
</type>
NuxeoDM show the new icon "montype.png" when i create an instance without a file joined but when i join a file (like an image or an excel file for instance), nuxeoDM show the image's icon or excel's icon instead of my montype-16.png. It is a bug or is there a way to keep my new Document Type's icon ?
Thanks !
01-14-2013 06:56 AM
Hello,
I found this (in french) : http://forum.nuxeo.com/?t=msg&goto=13477&&srch=icone#msg_13477
For english people, see that : https://jira.nuxeo.com/browse/NXP-6092
So, I will try to declare an extension for the listener MimetypeIconUpdater for my document's types.
01-14-2013 06:56 AM
Hello,
I found this (in french) : http://forum.nuxeo.com/?t=msg&goto=13477&&srch=icone#msg_13477
For english people, see that : https://jira.nuxeo.com/browse/NXP-6092
So, I will try to declare an extension for the listener MimetypeIconUpdater for my document's types.
01-14-2013 10:54 AM
It's ok with the extension listener but I think it would be good if we could parameter this in the type declaration.
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.