SOSL as Model Query Option

Pat VachonPat Vachon ✭✭
edited April 2019 in Ideas
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.
2
2 votes

Awaiting Review · Last Updated

Sign In or Register to comment.