2

I getting an error from FormTitan (for creating forms with connection to salesforce).

SOQL TYPEOF expressions are not supported for API versions less than 46.0 .

I saw that my API version on my sandbox is 46.0.

How can I enable TYPEOF functionality? Is there a way to enable it without creating a case to salesforce?

4
  • FormTitan seems to be a managed package, maybe their classes are not on version 46.0
    – Raul
    May 15, 2019 at 8:40
  • This is not through AppExchange.. It is an external website which has a connection to SF with some API
    – Salvation
    May 15, 2019 at 8:42
  • Could you share the query resulting the error?
    – Raul
    May 15, 2019 at 8:55
  • Hi Raul, I don't have the query because it happens behind the scenes in FormTitan. But I asked it from them and while they will provide the query I will post it here. Thank you for your time.
    – Salvation
    May 15, 2019 at 10:39

1 Answer 1

2

According to the TYPEOF documentation:

TYPEOF is currently available as a Developer Preview as part of the SOQL Polymorphism feature. For more information on enabling TYPEOF for your organization, contact Salesforce.

UPDATE: It will become Generally Available in the Summer 19 release which is supposed to deploy to production on June 14.

If you need it earlier, you'll need to open a case with Salesforce to enable it.

1
  • 3
    and it has been in Developer Preview for a very very long time
    – cropredy
    May 15, 2019 at 17:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .