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.
-
@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?– itsmebastiFeb 20, 2017 at 17:28
-
@Basti I left Salesforce nearly a year ago, so I no longer have an 'inside track' on this :-(– metadaddyFeb 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...– itsmebastiFeb 22, 2017 at 7:07
2 Answers
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.