If I need to roll back an extension that I've recently installed so that the previous version can be reinstalled, the only way to do this is to increase the version on the previous version of the extension.
Increasing the version is typically indicative that the extension is different from all of the previously installed extensions. Having to increase the version to reinstall an older version of an extension is confusing and requires a code compare to determine if the extension truly is a newer version.
If possible, can we add an option to reinstall a previous version of an extension when we uninstall an extension and allow the deployment of the previous version?
Comments
My customer uninstalled version 8, and tried to re-install version 7 that was still in the extension list ... but that didn't work as BC still saw version 8 had been installed previously.What is the use of cluttering all those old extensions in the database, if you're not allowed to install them in any way????
Category: Development
And when we update our Business Central say we have 14 customs projects to publish after update that are all on version 1.0.0.0 sometimes the update unpublish all our extensions then we cant publish the same 1.0.0.0 version its saying you already installed before this version ( and its not even published or installed right now ! ) So you have to increase version in 14 different projects build them again and publish ! Thats Crazy..
Category: Development
Would reallybe useful!
Category: Development
Table schema additions and upgrade code are allowed in newer versions. There is no support for downgrade code though, allowing lower version app to be installed. However, as a new feature, it could be allowed to install a lower version if there are no schema changes.What is the primary use case here, AppSource apps or per-tenant extension (PTE)? In the case of a PTE, you can unpublish and reinstall earlier version with force sync enabled, which will just delete any data that does not match the schema of the older version (with no change happening if schema matches). However, for AppSource apps, force sync is not supported today.
Category: Development
Definitely a thing that would be great to have!
Category: Development
This rollback would save so much headache! The old versions are there, it would be fantastic to be able to roll back to a previous version.
Category: Development
Business Central Team (administrator)
Best regards, Business Central Team