You need to sign in to do that
Don't have an account?
AlexMS
Is it possible to create a managed package with a post-install script using sfdx?
Might be a stupid question, but here goes :) So at the moment, we have a DevHub instance with a scratch org, and I can make packages quite happily with:
sfdx force:package:version:create --package "xxxxx" --definitionfile config/project-scratch-def.json --wait 10 -x
Is there a way to specify a post install script using this method?
Alternatively how do I go about taking my sfdx code and uploading it to our Developer Edition instance (and then I think I can use the Setup->Apps->Package Manager to create the package rather than using sfdx, which allows an Apex class to be specified for the PostInstall).
sfdx force:package:version:create --package "xxxxx" --definitionfile config/project-scratch-def.json --wait 10 -x
Is there a way to specify a post install script using this method?
Alternatively how do I go about taking my sfdx code and uploading it to our Developer Edition instance (and then I think I can use the Setup->Apps->Package Manager to create the package rather than using sfdx, which allows an Apex class to be specified for the PostInstall).
Raj Vakati
I dnt think soo .. there are no options .. ( DX is