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
trishtrish 

Search text in attachments

Hi,

I am new to SFDC and Apex code development. Is there a way to do a full text search on attachments using Apex/Force.com APIs ? Also, are there any kind of file operations (read/write) APIs?

Thanks
werewolfwerewolf
You can read and write to the Attachment object using the API in Apex, but there's no full text search on them yet.  If that's one of your requirements you might look at Salesforce Content as an alternative to attachments.