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
Nagesh ENagesh E 

Attach contentversion document to opportunity using VF page

Hi I am trying to attach content document to current opportunity using VF page. I am not sure where I can get the info regarding attachments to opportunity 

 

Thanks

Nash

Cory CowgillCory Cowgill

Check out this sample:

 

http://corycowgill.blogspot.com/2011/01/i-see-lot-of-folks-posting-questions-in.html

 

You'll want to set the ParentID to be the Opportunity ID.