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.

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

| improve this answer | |
  • Seems that support won't enable it - I'm investigating... – metadaddy Oct 11 '12 at 17:07
1

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.