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
sfdc03sfdc03 

I want to rename content version title if existing records having same name.

If existing record name is test and new records if they also have same name then it must be test.v1.
 
VinayVinay (Salesforce Developers) 
Hi,

Review below working example to update field on content version.

https://developer.salesforce.com/forums/?id=9060G0000005XgBQAU

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

Also from above documentation I can see title has properties of (Create, Filter, Group, Sort, Update).

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar