web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to Safely Split a Deployed Business Central Extension Without Losing Data?

(4) ShareShare
ReportReport
Posted on by 300

Hi everyone,

I have developed a Business Central extension with multiple functionalities (custom tables, pages, codeunit, and reports), and it’s already deployed in production as a single PTE (Per-Tenant Extension). Now, I’m planning to split this extension into multiple smaller extensions for better modularity and maintainability.

I have a few concerns:

  1. Data Impact – If I move tables or fields to a new extension, how do I ensure data is preserved?
  2. Upgrade Path – What’s the best way to use DataUpgrade codeunits to migrate or copy existing data from the original extension to the new one?
  3. Dependencies – How should I manage inter-extension dependencies properly, especially if one extension still relies on functionality from another?
  4. App Uninstall Risks – If I uninstall the old extension after splitting, will it cause data deletion even if the tables now exist in a new app?

Has anyone done this before? Any tips, pitfalls, or recommended practices would be appreciated.

This is urgent so anyone can help would be appreciated.

Thanks in advance!

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    Hi, Starting from Business Central 2025 release wave 1 (BC26), Microsoft has supported the movement of fields between extensions, so there will be no data loss issues.
    More details:
    Move tables and fields with data across extensions as part of refactoring
     
    What's new: Moving tables and fields between AppSource extensions
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • SB-30050252-0 Profile Picture
    34 on at
    You could possibly also use the Config packages (or direct database access if on-prem) to download the existing data and then reapply the data after splitting. Depends on how many records and which type though.
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,639 Super User 2025 Season 2 on at
  • Suggested answer
    Mansi Soni Profile Picture
    8,909 Super User 2025 Season 2 on at
  • Jinal P. Profile Picture
    300 on at
    Hello YUN ZHU,
     
    My extension is PTE mode and already deployed in the Production SAAS version [Not on-premise], and I would like to split them functionality wise, but in document I can see microsoft is saying PTE is not allowed.
     
    What should I do?
     
    Can you please advise. 
     
    Thanks
     
     
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,150 Super User 2025 Season 2 on at
  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    If this is the case, you can only use the intermediate extension.
    That is, create the tables and fields that need to be moved in the intermediate extension, and then make a migration tool to copy the data to the intermediate extension first.
    Then delete the fields, add these fields in the new extension, and then use the transfer tool to transfer the data in the intermediate extension to the new extension.
    Although this is troublesome after all, it should be no problem.
     
     
    Hope this can give you some hints.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans