开发者

Where is the Alfresco PDF Preview saved?

when i click to the info Button next to the Filename in a Workspace there is shown a Preview of the PDF File, but i can't find this Preview in the Database or 开发者_JAVA技巧in the Filesystem, anybody know where it will be generated?

Regards Rene


The flash preview of the PDF stored as a rendition of the actual document. It is stored as cm:thumbnail object as a child (rendition child association) of the PDF document and has the thumbnail name (i.e. thumbnails type) "webpreview".

Use the Alfresco Node Browser, find your PDF document and check it's child associations. You should find the webpreview there. From it's contentUrl you can even find the file in the content store (i.e. on you harddisk).


A preview should be an instance of a rendition in Alfresco. Nodes in Alfresco can have more than 1 rendition (e.g. different quality thumbnails). Renditions of nodes in Alfresco are themselves stored as nodes again, so you should be able to find them using the node browser in the admin panel.


If you navigate to the object using the Node Browser and look at its children, assuming you have already viewed the document in a document library list in Share and have opened the details page to see the preview, you'll see two children listed. One is named "doclib" and the other is named "preview". If you navigate to the doclib child, you will see that it is a PNG. That's the thumbnail shown in the document library list. If you navigate to the "preview" child, you'll see that its mimetype is Flash. That's the flash preview.

If you do not see the flash preview object it is possible that your pdf2swf binary isn't installed correctly or you haven't pointed to it properly in your alfresco-global.properties file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜