function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nancy WoodNancy Wood 

Deploy Apex Via Managed Packages

One of our client is having a professional edition. We have provided the custom solution for their business process using Lightning Components, Apex class, and Custom Objects. We implemented this as a Managed Package but it has not been sent to Salesforce for Security review(Since we are not salesforce partner). We know that we can deploy apex code to professional only through the managed package. We would like to clarify the following questions,
  • Whether the salesforce will review these package for free( since it is a solution for a single customer)?
  • How long the salesforce team will take to verify this package?
  • Once the package got verified, if we update any changes on that package do we need to get the security review again from salesforce?
Khan AnasKhan Anas (Salesforce Developers) 
Hi Nancy,

Greetings to you!

As far as I know, you can only install packages, that include Apex, in a Professional edition org if that package is managed and has passed the security review. According to Salesforce doc: https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/dev_packages_apex_ge_pe.htm

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.

Security Review Steps: 
https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/security_review.htm

Security Review FAQ:
https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/security_review_faq.htm

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas