Warning: number_format() expects parameter 1 to be float, string given in /data/web/virtuals/7298/virtual/www/wp-includes/functions.php on line 412

How to install Business Central (developer) preview version

by Jun 18, 2021AL Language, Major, Runtime, User Experience

Home 9 Development 9 AL Language 9 How to install Business Central (developer) preview version ( Page )

In the last weeks, I got some questions about installing the developer’s preview version (the Insider build) of the Business Central. This version is available through Artifacts for docker similarly to standard versions; however, they are available only for Microsoft’ partners.

If you are a partner, you can find your access code directly in the Microsoft Partner Center (Collaborate -> Overview -> Packages -> Working with Business Central Insider Builds). On this page, you can download the .txt file that contains sasToken (token you need to download any of insider builds).

Creating the container is similar to creating the standard container; the only difference is the “sasToken” parameter in the Get-BCArtifactUrl command. See the whole command below.

Measure-Command {
  $artifactUrl = Get-BCArtifactUrl -country base -select nextmajor -sasToken $sasToken
  $credential = New-Object pscredential 'UserName', (ConvertTo-SecureString -String 'Password' -AsPlainText -Force)
    -containerName Your-Container-Name
    -artifactUrl $artifactUrl
    -Credential $credential
    -auth UserPassword
    -imagename Your-Own-Image-Name
    -includeTestToolkit `
    -licenseFile 'C:\PartnersLicense.flf'

Visual Studio Code AL Language extension from Insider’s build

With the new major version, there are always many changes to development. To use these changes and try to create new objects, new structures, or check changes to standard procedures, you have to use the new version of the AL Language extension for Visual Studio Code.

The new version is not available directly through Visual Studio Code until the full version of the Business Central is officially published. However, the extension is available directly on the image you downloaded when the container was created (it could be a little different path in your case):

C:\bcartifacts.cache\sandbox\18.0.22317.0\platform\ModernDev\program files\Microsoft Dynamics NAV\180\AL Development Environment

This .VSIX package can be installed manually in Visual Studio Code (Extensions -> … -> Install from VSIX…).

Recent Articles from the category

How to import Excel files using Excel Buffer

How to import Excel files using Excel Buffer

Last week, I saw a question about importing data from Excel file to Business Central using AL Language. A few years ago, the only solution was to use DotNet integration. However, with the Business Central, there is a much quicker and better approach. All functions for...

read more
OnAfterLookup: New page field trigger coming in v18

OnAfterLookup: New page field trigger coming in v18

One of the news in AL Language that is coming with the upcoming major version (Business Central 2021 W1) in April is a new trigger AnAfterLookup. The new trigger is described on Microsoft Docs (however, the description is still a bit confusing…). As the Lookups are...

read more
Kepty4Beginners: AL Snippets

Kepty4Beginners: AL Snippets

In today's beginner series article, we will look at Snippets in AL Language. What are snippets? How can we use them? What is the reason to know how to use them/when to use them? All these questions are answered in the video below! https://youtu.be/XIhSNkUdewc

read more