SFDX force:package1:version:create command has incomplete PostInstall Instructions
Packaging , Platform , Salesforce DX
Last updated 2020-02-03 ·Reference W-5743892 ·Reported By 8 users
No Fix
Summary
For 1st generation packages, developers can signify that they want either a URL or a Visualforce page as a PostInstall instruction page that will be displayed to users upon install.
We need to improve this command such that developers can set a visualforce page as the URL.
Repro
For the sfdx command
sfdx force:package1:version:create
The postInstallUrl flag is expected to always be a fully formed URL, which results in not being able to set the URL to be that of a visualforce page in the package.
sfdx force:package1:version:create -n pkg1.1 -i 033xxxxxxxxxxxx -p "apex/TestPostInstall" -u blehdev@test.org -w 10
ERROR: Invalid URL format.
Workaround
The only available workaround as of now would be to use the Package Upload UI until this issue is fixed.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.