Skip to main content

Notifications

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?

(3) ShareShare
ReportReport
Posted on by 187

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!

  • Suggested answer
    YUN ZHU Profile Picture
    84,278 Super User 2025 Season 1 on at
    How to Safely Split a Deployed Business Central Extension Without Losing Data?
    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
  • Suggested answer
    Sohail Ahmed Profile Picture
    3,285 on at
    How to Safely Split a Deployed Business Central Extension Without Losing Data?
  • Jinal P. Profile Picture
    187 on at
    How to Safely Split a Deployed Business Central Extension Without Losing Data?
    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
    Mansi Soni Profile Picture
    3,391 on at
  • Suggested answer
    Jainam M. Kothari Profile Picture
    8,653 on at
    How to Safely Split a Deployed Business Central Extension Without Losing Data?
  • SB-30050252-0 Profile Picture
    26 on at
    How to Safely Split a Deployed Business Central Extension Without Losing Data?
    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
    YUN ZHU Profile Picture
    84,278 Super User 2025 Season 1 on at
    How to Safely Split a Deployed Business Central Extension Without Losing Data?
    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

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans