We have an existing Connect app that we would like to replace with a Forge version (a complete re-write).
So far, we’ve tested our Forge app by creating a new, totally separate Forge app and deploying to development.
We would like to replace our Connect app with this Forge version, without having to create a separate app listing or losing customers.
Set app.connect.key in your manifest to match the key you use for your Connect app when testing, then deploy to development.
Use the cli to install development onto a test site where you already have the test Connect app installed, and check that the connect installation gets cleanly replaced by the Forge installation - if anything looks off, let us know.
Set app.connect.key in your manifest to the production Connect key (i.e. the one used by your listing) and deploy to production
If I have the production version of the Connect app installed on a test instance, and set app.connect.key in my Forge app manifest to the production Connect key but deploy to development, will the installation of the old app be cleanly replaced on just the test instance?
Oh, I realised I misunderstood the question. You can set the key to whatever you want in development and staging and it won’t affect any of your customers; those are totally isolated. So only your test sites that you install the development version to will be impacted.
Thanks for your help. We’ve done what you suggested and were able to successfully replace the Connect version of our app with the Forge one.
Just so it’s clear for everyone else, you can install a production copy of your Connect app from the marketplace, then replace only that particular install with a Forge development deployment by referencing the Connect app key (the licensing option in your manifest should also match the one in your app descriptor). Nothing else was affected.