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
eric_deveric_dev 

How to get Body conent of Attachment object

Hi,

I’m use Site technology for upload file from Client to Salesfroce. It appears in Case related list Notes and Attachments.

File format is CSV.

 

How can i get content of CSV file and insert a data into Salesforce object

I thought something similar to Select Body from Attachment….and

 

Does somebody has idea how to do it by APEX or via API

 

Thank you

Best Answer chosen by Admin (Salesforce Developers) 
gv007gv007

Eric,

        I did't worked in site technology but here is the idea to implement it

 

1.open salesforce connection in yours site code

2.based on yours record in yours case---->to case object attached document using

 

Attach.body componet ,

 

that is only solution for you.

 

Thanks

Gopi