0

I'm running in to this error: Installing this package requires the following feature and its associated permissions: Apex Classes

3
  • 1
    Professional edition does not support apex classes. Also Prepare for the Security Review says: When you submit your app for review, make sure that you provide a complete test setup and instructions for using it. This setup must include a Developer Edition org with your managed package installed. So you would need a developer edition org.
    – Raul
    Apr 11, 2019 at 9:24
  • Hi Raul, my app has been successfully reviewed. It has passed the security test and also I am partner with Salesforce.
    – Shankish
    Apr 11, 2019 at 9:29
  • I am trying to install this successfully reviewed version in a sandbox PE but it is failing.
    – Shankish
    Apr 11, 2019 at 9:31

1 Answer 1

2

Using Apex in Group and Professional Editions

Your app can contain business logic such as classes, triggers, email services, etc. written in Apex. As a general rule, Apex is not supported in GE/PE, so it will not run in these editions. However, Apex developed as part of an ISV app and included in a managed package can run in GE/PE, even though those editions do not support Apex by default.

You must be an eligible partner with salesforce.com and your app has to pass the security review. The appropriate permissions will automatically be enabled after you pass the security review. Here are some important considerations for using Apex in GE/PE.

  • GE/PE customers can’t create or modify Apex in your app; they can only run the existing Apex.
  • Your Apex code should not depend on features and functionality that exist only in DE, EE, UE, or PXE, or your app will fail to install.
  • Make sure to use REST if you plan to expose an Apex method as a Web service. Apex classes that have been exposed as a SOAP Web service can’t be invoked from an external web app in GE/PE.
  • Using Apex to make Web service callouts is allowed in GE/PE. For instance, if you’re planning to make a Web service callout to an external Web service, as long as the managed package is authorized, these classes will function in GE/PE.
1
  • Hi Adrian, my app has successfully passed the security review and I'm partner with Salesforce. I understand your points. FYI, this app is getting installed in partner PE(From environment hub) but failing in my other PE sandbox (The 30 day trial and one of my customer's). Can you please throw some light on "as long as the managed package is authorized".
    – Shankish
    Apr 12, 2019 at 2:22

You must log in to answer this question.

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