Reply
Regular Contributor
dev-loper
Posts: 73
0

How to use standard SalesForce search

 

Hi,

 

can we make use of standard salesforce search (global search which we have at the top in salesforce org) in a custom page created using visulaforce. i have a requirement where user clicks a button and a popup will open. Then i want to search for contacts/Leads/Accounts in the popup so that user selects one out the result set for futher proessing. iam thinking of whether we can maku use of standard salesforce search.

 

 

 

Thanks in advance 

Regards

Rakesh

Moderator
bob_buzzard
Posts: 6,424
0

Re: How to use standard SalesForce search

You wouldn't be able to use the standard search, as you don't have a way to hook into it on the page.  You can, however, use SOSL:

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_SOQL.htm

--
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter

I don't respond to private messages/emails asking for help.


Take the Bob Buzzard Sobject Fields quiz.