How to customize Base-Application

by Oct 4, 2019AL Language

Home 9 Development 9 AL Language 9 How to customize Base-Application

Even if customizing of the core apps is not recommended, sometimes it is still necessary (as I already described in the previous article). So let’s look at how to do it.

Requirements

There are no special requirements to change the Base App. The only thing that needs to be checked is whether the instance is running with “Allowed Extension Target Level” set to “OnPrem”.

Step-by-Step guide

  1. Download Microsoft Dynamics 365 Business Central.
  2. Unzip and copy Base Application source from the /Applications/BaseApp/Source/BaseApplication.source.zip to your standard development folder. In this folder all source codes are located and it can be used as any other AL project folder.
  3. Do the requested changes as in any other AL project.
  4. Compile the project to verify, that the app can be created without any error (you will probably see some warnings as the Base App is still not written in the perfect way…).
  5. UnInstall and UnPublish installed Base App using PowerShell scripts.
  6. Publish changed Base App from Visual Studio Code like any other app.

Recent Articles from the category

BC Open Source? How to start?

BC Open Source? How to start?

BC Open Source? How to start? One of the most exciting news introduced last month in Lyon during Directions EMEA 2023 was the changes to the open-source initiative. This means that you can now contribute to the source code of the Base app and the System app, which are...

read more
Validate a FlowField Field. Wait? What?

Validate a FlowField Field. Wait? What?

Validate a FlowField Field. Wait? What? There are not many things in the AL Language that surprised me. However, last week, I found one such thing - I reviewed customizations made by another partner and had to analyze the OOTB code of the Demand Forecast matrix. I run...

read more
Dynamics NAV 2013 & Expired Cronus License

Dynamics NAV 2013 & Expired Cronus License

We found an interesting problem - we were not able to run the development environment for Dynamics NAV 2013. Whenever we tried to run the development client, we got the following error message: "Your program license has expired" and the development client has closed...

read more
Indirect Dependencies and Access Modifiers

Indirect Dependencies and Access Modifiers

Last week, there was a discussion on Yammer on how to get values from the "Sent Email" record when all fields are marked as Internal. I was surprised that many people do not know what can/can't access modifiers (such as local, protected, or internal) be used for. I...

read more
AL Extensions: Replace Document Attachment

AL Extensions: Replace Document Attachment

I have published a new simple, open-source extension that allows replacing existing document attachments in all master entities as well as in open documents. The source code as well as the app file that can be installed in your environment is available on my GitHub...

read more

Sign Up for News

Certifications

Highest certification
Microsoft Data Management and
also in D365 Business Central

Microsoft Certified: Dynamics 365 Business Central Functional Consultant Associate

See other certifications here