SOSL as Model Query Option

  • 2
  • Idea
  • Updated 2 years ago
  • (Edited)
Here's my use case. I'd like to create an incoming call screen where a URL is automatically opened by the client's VOIP app.

ie. https://companyname.naxx.visual.force.com/apex/skuid__ui?page=IncomingCallScreen&phonenumber=6135551234

The issue with the above is that SOQL will not return a Contact who's phone number is (613)555-1234.

I can work around this with a formula for each phone number to strip out everything except numbers, but this is a work around for sure.

If I could use the option to set the query option on the model from the standard SOQL to SOSL I'd be all set.
Photo of Pat Vachon

Pat Vachon, Champion

  • 45,258 Points 20k badge 2x thumb

Posted 2 years ago

  • 2

Be the first to post a reply!