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
beingofhabitsbeingofhabits 

"managed installed class cannot be saved" on Unlocked packeg

Hello

 

I am adopting sfdx. And development was quite easy and straightforward. But the problem take it place when I've started to use packages. A version and package itself are both created successfully as well as deployed and executed. But I'm not able to make any change in my production org even though the package's type is Unlocked. An error message saying me that "managed installed class cannot be saved"

So..What's my problem and what's my option to do here?

Shubham4462Shubham4462
Hello ,

i think you cannot make any changes in production org like this checkout this link
https://salesforce.stackexchange.com/questions/130310/is-there-any-way-to-make-a-change-to-a-managed-package-component-outside-of-pack
Thanx Regards 
Shubham 
beingofhabitsbeingofhabits

Hello, Shubham

That is dedicated to managed packages only, as I know. Both Unmanaged and unlocked bypasses that limitation

And sfdx works with unlocked one

 

Thank you for your reply