You need to sign in to do that
Don't have an account?

Getting Access to Files through Apex Code
There is a Tab named as Files in dev org by default.there are some files init. can anyone guideline how to get access to these files through Apex and there content as Blob data type. i want to know id of these files through SOQL then how to do that
List<Attachment> attachments = [select Id, Body from Attachment];
Hope this helps.
Thanks,
Samba
You can find all you need to know about attachment object here:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_attachment.htm#topic-title