cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to thumbnail node from versionStore?

weblogic
Champ in-the-making
Champ in-the-making
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_******
2 REPLIES 2

cirib
Champ in-the-making
Champ in-the-making
Hi weblogic

Have you find a way to fix this problem?
I'm trying to implement the same thing.


mrogers
Star Contributor
Star Contributor
I wouldn't have thought so since there's no way to specify the destination store on that URL.    But is the thumbnail already archived in the version store - it may be.