function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JJE_OLDJJE_OLD 

ContentVersion Preview

Hi,

 

I create a VF Page on a custom object on which were linked Content Documents.

On my Content Type I added a lookup to my custom object.

In get a list of COntentVersion in my controller and I am able to display a pageblocktable with the titles andlinks to the ContentDocument Page.

 

What I'm trying to do is to create a preview of the document which is clickable like when you post a document in Chatter.

Does someone know if and how this could be achieved?

 

thank you

Ashish_SFDCAshish_SFDC

Hi Cloudy, 

 

Vote on the idea link: https://success.salesforce.com/ideaView?id=08730000000Y1QLAA0

Also, Check the javascript snippet which might help : http://codecanyon.net/item/jquery-document-viewer/1732515 

 

Regards,

Ashish