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"
class="it.abd.alfresco.transformers.P7MToTextTransformer"
parent="baseContentTransformer" >
</bean>
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?
Solved! Go to Solution.
I solve the issue, i just need to understand the transformers of alfresco you can find my solution on this link:
create-a-transformer-for-share-to-visualize-the-original-signed-file-of-a-p7m
I solve the issue, i just need to understand the transformers of alfresco you can find my solution on this link:
create-a-transformer-for-share-to-visualize-the-original-signed-file-of-a-p7m
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.