You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to run post-install anonymous scripts on unlocked packages #1338
Is your feature request related to a problem? Please describe.
Currently, we are only able to run post-install anonymous scripts for 2GP managed packages.
What are you trying to do
Execute anonymous scripts after the install of an unlocked package, so we can automate some action like record creation after the package is installed. We want the setup and record creation for an unlocked package to be fully automated from an SFDX command so that we can avoid missing manual steps after an unlocked package installation.
Describe the solution you'd like
Ability to specify one or multiple anonymous scripts in the sfdx-project.json file of an SFDX project that is an unlocked package, and the script(s) will execute after the unlocked package is installed into a Salesforce org.
Describe alternatives you've considered
SFDX plugin, internal wrapper CLI solution, manually executing scripts after package installation
Additional context
Add any other context or screenshots about the feature request here.
Reacted by Sofia, KChiu, Spencer G, Jeff Battles, akalatsky, Luiz Fernando and ficcaglia
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments.
Activity
github-actions commentedon Dec 21, 2021
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments.
uip-robot-zz commentedon Dec 21, 2021
This issue has been linked to a new work item: W-10346855
yippie commentedon Jan 4, 2022
Yes pease, this would be super helpful
kyle-chiu commentedon Jan 4, 2022
This is a great idea!
Slgrande commentedon Jan 4, 2022
We really need this!
madhankumargi commentedon Jan 4, 2022
Much needed for automating CICD process
pravirpal commentedon Jul 19, 2023
much needed, awaiting this feature.