Skip to main content
Tom Gagne (H.W. Kaufman) 님이 Unlocked Packages에 질문했습니다

Unlocked packages need to post install and uninstall scripts just like 2GPs do

.  Is there any scenario where these features will be brought to unlocked packages? 

 

2GP packages have some great features we could use in our ULPs:

  1. postInstallScript
  2. uninstallScript
  3. postInstallUrl
  4. releaseNotesUrl

Because of the limitations uninstalling ULPs (permissions sets, active flows, etc.) having the ability to perform some cleanup might help. 

 

Heck, I can't even get rid of an LWC property without tripping over an error, "You can’t remove the following public properties: <propertyName/>, because the component is part of a managed package," when it is part of my unlocked package.  To get around it I need to either ignore the field and keep it forever, rename it?, or uninstall/reinstall the package.

0/9000