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
SayasoniSayasoni 

Custom Document Search

I would like to customize the Document search in salesforce.Kindly advice me on how to come up with an apex controller that will perform the search performed by the standard Document search on the document search in salesforce.

 

Best Answer chosen by Admin (Salesforce Developers) 
SayasoniSayasoni

Got it.I think i can make it work using SOSL.

All Answers

Tejpal KumawatTejpal Kumawat

Get the all document in the list by SOQL query on Document.. And use that.

 

 

--------------------
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

Thanks

 

SayasoniSayasoni

Hi Tejpal,

Thanks for your reply.Am talking about searching not just the files but also for keywords inside the file.

SayasoniSayasoni

Got it.I think i can make it work using SOSL.

This was selected as the best answer