You need to sign in to do that
Don't have an account?
How to build Dynamic SOSL queries?
Hi Salesforce Gurus,
How to build Dynamic SOSL queries? Let’s say I have one requirement where, there are two fields, by which we search for a few ample of records.
Requirement-1: If end user search with only single field value keeping other field empty also, he would be able to get some records as a search results.
Requirement-2: if end user may give the both the fields value and search again, that time also he would be able to get some records as a search results.
How to build Dynamic SOSL query for this? Anybody can help me out in this scenario??
Are you looking for some code like this ?Have a look I created it almost 4months ago.But i"m not sure this will help you or not .
All Answers
Are you looking for some code like this ?Have a look I created it almost 4months ago.But i"m not sure this will help you or not .
Thank you Sourav, got the logic from you code snippet..