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
Taha HaiderTaha Haider 

What can go wrong in unlock packages? Pros and Cons

I want to know about unlock package about what can go wrong or we can say what are cons of unlock package?
SwethaSwetha (Salesforce Developers) 
HI Taha Haider,
This post would provide good insight into using Unlocked packages and scenarios where you should go with managed packages: https://salesforce.stackexchange.com/questions/267901/should-dx-unlocked-packages-be-used-for-app-distribution-to-customers

Also see https://salesforce.stackexchange.com/questions/293491/unlocked-packages-vs-unmanaged-packages?noredirect=1&lq=1

If this information helps, please mark the answer as best. Thank you
mukesh guptamukesh gupta
Hi Taha,

Unmanaged packages:-

Unmanaged packages are typically used to distribute open-source projects or application templates to provide developers with the basic building blocks for an application. Once the components are installed from an unmanaged package, the components can be edited in the organization they are installed in. The developer who created and uploaded the unmanaged package has no control over the installed components, and can't change or upgrade them. Unmanaged packages should not be used to migrate components from a sandbox to production organization. Instead, use Change Sets.

if you need any assistanse, Please let me know!!


Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh