7

Is SOQL Polymorphism enabled by default in API 26? I'm getting the error 'SOQL TYPEOF expressions are not supported in this organization' error when deploying to my test org that's on API 26.

3
  • @metadaddy are there any updates? I wrote a SOQL on v.38 and still get this error, didn't they make it GA? This still tells me its not: help.salesforce.com/… Or can I just ask support to enable it?
    – itsmebasti
    Feb 20, 2017 at 17:28
  • @Basti I left Salesforce nearly a year ago, so I no longer have an 'inside track' on this :-(
    – metadaddy
    Feb 21, 2017 at 16:05
  • @metadady oh okay thanks though! Meanwhile, I asked support, it's not GA and they could not tell me more except they will let us know when it is...
    – itsmebasti
    Feb 22, 2017 at 7:07

2 Answers 2

10

Per the release notes, SOQL Polymorphism is in Developer Preview in API 26 (Winter 13). You'll need to contact salesforce.com to get it enabled. See this blog entry for more on SOQL Polymorphism.

1
  • Seems that support won't enable it - I'm investigating...
    – metadaddy
    Oct 11, 2012 at 17:07
1

TYPEOF is going GA in Summer 19 in API v46.0

You must log in to answer this question.

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