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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Commenting a customized code already published on Prod Environment

(0) ShareShare
ReportReport
Posted on by 4,188

Hi,

I've done customization and published an .app file on my Prod Env. but now due to some reason I need to comment that code. Main problem is I've configured my Prod will set up from No. series to posting setup etc. now If I unpublish it i loose everything.

another way is to create another .app to comment the code but I have a query . now I'll be having two .app files on Prod. One with the code uncommented and one with the commented code. Will it not cause any problem? two codes triggering the same field ?

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    You can create a new version of your extensions with the code commented. Then you can create an Upgrade codeunit for that extension that handles the data migration (from v1 to v2).

  • Olister Rumao Profile Picture
    4,009 on at

    Hi Stefano,

    Using the URL(docs.microsoft.com/.../devenv-upgrading-extensions) we can only use the powershell commands for the instance on the container right??

    How to do the same in Business Central Tenant Environment??

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans