Hi All,
I am quite new to Dynamics 365 Business Central. I am using a cloud based Dynamics 365 Business Central sandbox. And so far i have launched few extensions on the sandbox as my customizations. And during the upgradation of D365 BC, everytime my extensions get deleted. Last time when it happened, i launched the extensions again but one the customization was not working properly like it worked before.
Can someone please help me this? How can i retain my extensions or prevent my extensions from getting deleted everytime an upgrade takes place in my sandbox? Also if possible how can i make sure that my customizations will work excalty the way it worked before the upgrade ?
Thanks in Advance.
if the extensions are uploaded in sandbox the extensions wont be deleted, but if it is published the extensions will be deleted when upgraded.
Yes, you need to publish it again from VS code.
If you want to keep the extension, you need to upload it through extension management. The extension there stays even after upgrade.
Any extension that you publish from VS code will be uninstalled.
if you install from Visual Studio Code then those apps will be uninstalled while upgrading.
if you upload them from extension management page and apps are compatible with upgraded version then those apps wont be uninstalled.
mohana-dynamicsnav.blogspot.com/.../how-to-keep-custom-extensions-in-cloud.html
You just can't stop that from happening. The extensions are going to be removed from your system after you upgrade the system.
It doesn't mean that the files of the extension are also going to be deleted. The files and data will stay there. You'll not be able to use them.
Sandbox is a testing environment so the updates are going to be forced on it.
That's it from me.
So by "reinstall the extension again" you mean i have to publish the workspace again from the VS code app ? right?
Short answer is you can't.
When the upgrade happens, it will uninstall your 'new' extension. The data is not gone, you just need to reinstall the extension again.
This will not happen to the existing extension that are copied from your production when you create the sandbox.
Your extension doesn't get deleted off the sandbox, it just gets uninstalled so the tables, pages and so on you made will still be there but you won't be able to use them. Now on a production environment it will hold back the updates if it is breaking with your uploaded code but since the sandbox is seen as a test environment they will force their updates by uninstalling your extension by default.
So you are not losing your data but you shouldn't try to hold back the updates since it might give you bigger problems in the future. Now for the problems that have impact on your functionality that might happen so it doesn't work anymore, this is up to you to resolve those issues so that if you publish it on future releases of business central it works together with what Microsoft implies you should use.
Are you installing app by any chance from Visual Studio code?
did you try uploading them from extension management page?
Please check this link
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156