1

I received the following feedback from an SF customer service agent, and I am not sure I understood him 100% correctly. You are able to edit the code in a managed package in developer, trial, and sandbox orgs even though you can’t see it. Unfortunately you can’t edit code in a managed package in a production org. The edit button would not be there. BUT you can push the changes that you made to the class in the managed package in sandbox to production via a change set or the IDE (I know he stated that, but I am unsure how it would work in practice). Could an ISV use change sets or do they have to wait on patches? He also said this type of change was updateable. Does anyone have any feedback on whether a change to a managed package component can be made outside of packages and patches? I am pretty sure that it can't unless I am missing special privileges, etc.

I guess the biggest question I have is why the "edit" button is there at all for a managed package installed class. All the other buttons normally included in the ui for apex classes are not there. It doesn't seem I can save a managed installed class in the console though.

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • This would be interesting and at the same time very concerning if it is true. I just may have to try it.... – Eric Jul 6 '16 at 21:45
  • ugh...No way to do it for me at the moment. MM v7 beat refuses to get the managed package metadata and cannot use v6 anymore with TLS 1.0 dead – Eric Jul 6 '16 at 22:07
1

It's not possible to edit the code of a managed package. If you click on "edit", you gonna see an empty file.

  • Yep. "Edit" really only serves as a way for you to update the Version Settings on the file - help.salesforce.com/… – Robert Watson Jul 7 '16 at 3:45
  • I can't even edit the version settings on the file at all for installed managed classes. – amanda fouts Jul 7 '16 at 4:33

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.