AL-Go-PTE
Neil Haddley • August 26, 2023
Extensions
I changed Business Central by installing apps that add functionality, change behaviour, or give access to 3rd party online services.
AL-Go for GitHub is a set of GitHub templates and actions for setting up and maintaining DevOps processes for Business Central AL projects.
I used AL-Go for GitHub to create a Business Central per-tenant extension (PTE) with VS Code.
(I uploaded a Per Tenant Extension (PTE) to Microsoft Dynamics Business Central using the Business Central Extension Management page.)
I used the AL-Go-PTE GitHub template repository https://github.com/microsoft/AL-Go-PTE
I needed a GitHub account, a Windows machine, VS Code (with AL and PowerShell extensions installed), and Docker installed locally.
Windows laptop
I installed Docker Desktop, Windows Subsystem for Linux, Git, GitHub Desktop, and Visual Studio Code on a Windows 10 laptop.
POWERSHELL
1Enable-WindowsOptionalFeature -Online -FeatureName containers –All 2Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
https://stackoverflow.com/questions/57431890/error-response-from-daemon-hcsshimcreatecomputesystem-the-virtual-machine-co
Under the hood: What localDevEnv.ps1 does
Judging by the screenshots that follow, the script asks for a user name and password, has Docker download the Business Central image, builds a container, and shares my laptop folders with it. When it finishes, Business Central is running in the container, at an address that I opened in the browser. I published the hello world extension to it, and the settings were copied into launch.json.























