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
Marijus Gorinas 13Marijus Gorinas 13 

How to rate a Document/ContentVersion from a visualforce page or controller?

I am looking for -any- way to thumbs up/down a content record from a visualforce page. It is doesn't look like I can edit ContentVersion record.

Thanks in advance,
Marijus 
Diksha Goel 6Diksha Goel 6

Hi Marijus,

Please refer this:

https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/api/sforce_api_objects_contentversion.htm

https://salesforce.stackexchange.com/questions/131096/how-to-upload-files-using-apex-code/131100#131100

Hope this helps

Regards

Diksha

Thinqloud Solutions