AnsweredAssumed Answered

is it possible to thumbnail node from versionStore?

Question asked by weblogic on Apr 13, 2012
Latest reply on Mar 14, 2014 by mrogers
I need preview document versions.

is it possible to thumbnail node from versionStore with thumbnail.get.js?
I'm successfully see image by url :

http://127.0.0.1:8070/share/proxy/alfresco/api/node/workspace/SpacesStore/{MY IMAGE NODE REF}/content/thumbnails/imgpreview?alf_ticket=TICKET_*****
but can't see version thumbnail
http://127.0.0.1:8070/share/proxy/alfresco/api/node/versionStore/version2Store/{MY IMAGE VERSION NODE REF}/content/thumbnails/imgpreview?alf_ticket=TICKET_*****
or
http://127.0.0.1:8070/share/proxy/alfresco/api/node/workspace/version2Store/{MY IMAGE VERSION NODE REF}/content/thumbnails/imgpreview?alf_ticket=TICKET_*****

thumbnail.get.js usage
<url>/api/node/{store_type}/{store_id}/{id}/content{property}/thumbnails/{thumbnailname}?c={queueforcecreate?}&amp;ph={placeholder?}</url> 

Maybe I use incorrect store_type or store_id?

I'm use org.alfresco.service.cmr.version.Version.getFrozenStateNodeRef() to get  {MY IMAGE VERSION NODE REF}.
Alfresco 4.0.d


This work fine :
http://127.0.0.1:8070/share/proxy/alfresco/api/node/workspace/version2Store/{MY IMAGE VERSION NODE REF}/content/?alf_ticket=TICKET_******

Outcomes