AnsweredAssumed Answered

Associate a thumbnail to a file types/mimetype and visualize on share

Question asked by 4535992 on Oct 13, 2017
Latest reply on Sep 13, 2018 by 4535992

Hi i have used a mimetype e.g. "application/pkcs7-mime" not present on the default configuration of alfresco so i created some transformer to manage for my use case, is work all fine but on the preview of share i don't have a thumbnail of the document. Here a screen shot of the problem:

I have prepared some image on "/src/main/amp/config/alfresco/extension/thumbnail/p7m-file-48.png" like i read in the documentation.

Here my transformer for the example:

 <bean id="transformer.P7MToText"
             parent="baseContentTransformer" >                      

What i must to do for associate the thumbnail image to the file types or mimetype i want?

I know i must set some bean but i can't solved this issue or there is some code java on the trasformer i must set?