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

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.

$sasToken = "YOUR-OWN-TOKEN-FROM-PARTNER-CENTER"
  
Measure-Command {
  $artifactUrl = Get-BCArtifactUrl -country base -select nextmajor -sasToken $sasToken
  $credential = New-Object pscredential 'UserName', (ConvertTo-SecureString -String 'Password' -AsPlainText -Force)
  New-BcContainer
    -accept_eula
    -containerName Your-Container-Name
    -artifactUrl $artifactUrl
    -Credential $credential
    -auth UserPassword
    -updateHosts
    -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

Field Level Permissions (Restricted Fields)

Field Level Permissions (Restricted Fields)

I just add a new project to my GitHub repositories. It is a new extension for Business Central that extends security functionalities with field-level permission. Using this extension, users are able to define who can or can not change specific fields in any table in...

read more
How to let users choose field(s) properly

How to let users choose field(s) properly

When some complex functionality is developed, it is sometimes necessary to let users choose a specific field. This can be required for field permissions, mapping imported values or any similar process. Earlier, the usual way was to create a link on the Field table...

read more
Returning complex types in AL Language

Returning complex types in AL Language

In Microsoft Dynamics 365 Business Central 2021 w1 (released in May 2021), a profound change was introduced to ways how we can design our applications Until this version, the only way to return complex data types (like records, codeunits, Lists etc.) was using the var...

read more
Import various file types with Interfaces

Import various file types with Interfaces

A few weeks ago, I described a solution for importing an Excel file to the Business Central using Excel Buffer in AL Language (see here). In today's article, we will look at how to build a more complex solution that can be used for file imports without the needs to...

read more