cancel
Showing results for 
Search instead for 
Did you mean: 

icon given in definition type doesn't appear when a file is joined

brigitte_
Confirmed Champ
Confirmed Champ

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 !

1 ACCEPTED ANSWER

brigitte_
Confirmed Champ
Confirmed Champ

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.

View answer in original post

2 REPLIES 2

brigitte_
Confirmed Champ
Confirmed Champ

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.

It's ok with the extension listener but I think it would be good if we could parameter this in the type declaration.

Getting started

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.