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
BidunBidun 

Maintaining image database through a web service and associating images with respective records.

I am trying to save the images as static resources associate  them to the record to retrieve them when ever I need them.

 

Can any one please help me understand how I can do this.

 

To explain the question better. I want to save the image sent through a website into my documents and associate that with the record created. 

 

This will help me send a response when the user requests for it.

 

 

cloudcodercloudcoder

Have a look at the web services API doc. You can access the content object which should do what you want. 

 

http://www.salesforce.com/us/developer/docs/api/apex_api.pdf (see page 101)