0

does adding @deprecated to classes make packages installable in professional edition orgs?

If your package has a class, you will not be able to install it in a professional edition org. A workaround you may have heard is to make the class deprecated and then try to install it.

0

Didn't work. I deprecated the class and the test class both and tried installing my package into a professional edition, but was not able to do it. It resulted in the same error as before : missing feature : apex classes. So, no, deprecating will not solve your problem.

The only way to do it is to delete the class from your org (after having managed package component deletion enabled)

| improve this answer | |
0

No, because deprecated code isn't deleted code, it's simply flagged as "do not use." However, once you pass the security review, you'll be able to install your package in Professional Edition orgs, even though they can't normally have Apex Code in their orgs.

| 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.