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
chetan dabaschetan dabas 

Fetch the content of an attachment and update related record with it

hi, 
       How to fetch the content of an attachment using apex code and also use that content to update the related record.
Ex:-suppose an account object is having a text attachment with it and that attachment contains the status and the description of account record.now i have to fetch the value of status and description from attachment and with the help of that string/value, update the account record?

Thanks in advance.