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.

1

2 Answers 2

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)

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.

You must log in to answer this question.

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