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
SatgurSatgur 

Universal Search page on Visualforce to query documents, contents, chatter files/feeds

Hi,

 

Our client is looking for a consolidated Search page for end users, whereby User can query once and implementation should search SFDC entire org for matching records.

 

Search should encompass below :

1. Documents (full text search inside document content)

2. Chatter files (full text search inside file content)

3. Content documents (full text search inside document content)

4. Chatter feed

5. SFDC entities (account, contact etc)

6. Any Static Visualforce pages defined within the org (like any other web site which has a site page containing some key information)

 

The benefit is that -

1. No need to go to different tabs to do document search (chatter file, Content tab, Document tab, SFDC global search). and User can run search from a single place.

 

2. Whole search and results display can be customized to present information in a consistent and user friendly manner in line with industry standards (Google search results).

 

Does anyone have any recommendation about leveraging Visualforce/Apex to develop this universal search page in SFDC?

Any limitation esp. - 2 which come to mind

 

Questions

(i) With VF, how can we perform full text document content searches? I guess it is possible in standard SFDC (search within Chatter file, Content tabs).

(ii) Can we do a search on Visualforce page content itself and show this in results?

(iii) Any AppExchange solutions which can help with this requirement?

 

Appreciate recommendations and how can we satisfy all requirements using Visualforce approach.

 

Thanks

Satgur

 

 

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
Devendra@SFDCDevendra@SFDC

 

I am not sure about text inside the attached document, But you can use FIND query to retrieve results.

 

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_sosl_find.htm this will help you to get going.

 

Hope this helps:)

 

Thanks,

Devendra

All Answers

Devendra@SFDCDevendra@SFDC

 

I am not sure about text inside the attached document, But you can use FIND query to retrieve results.

 

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_sosl_find.htm this will help you to get going.

 

Hope this helps:)

 

Thanks,

Devendra

This was selected as the best answer
Nathan Struk 3Nathan Struk 3
Can someone from SF provide an update to this answer? The link above is broken.

Thanks,
Nathan
Nathan Struk 3Nathan Struk 3
Maybe this is it:  http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_search.htm ?
jeniffer homesjeniffer homes
Appreciate recommendations and how can we satisfy all requirements using Visualforce approach.

Thanks
Regards
Jeniffer (http://www.greatbasinindustrial.com/products/industrial-tanks-storage/)