• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
  • Business Central
  • NAV 2018
  • NAV 2017
  • NAV 2016
  • NAV 2013
  • About
  • Privacy Policy
  • Disclaimer
  • Contact Us

Navision Planet

This Blog is intended to help Microsoft Dynamics NAV / Business Central ERP developers as well as users. If you just go through these blogs you will understand what I have told is correct. The Blog will continuously get update with latest news. This Blog is handled by a group of Microsoft Certified Partners as well as Business Solution Specialists in Microsoft Dynamics NAV and Dynamics 365 Business Central. Feel free to mail us for any doubts.

  • LS Retail
  • Help Topics
    • Finance Module
    • Manufacturing Module
    • Warehouse Module
    • Administration
  • Navision Developer
  • GST
  • D365 Business Central
  • CU Update
    • Download Business Central

Visual Studio Code setup to enable Business Central AL coding

Table of Contents

  • How to Setup Business Central Development Environment?
    • Step 1 : Install Visual Studio Code
    • Step 2 : Download Certificate and Install
      • Install Certificate
    • Step 3 : Install AL Extension
    • Step 4 : Install VSIX Extension
    • Step 5 : launch.json Settings
    • Step 6 : Download Symbols

How to Setup Business Central Development Environment?

Hope you have installed the Business Central via Docker. If not then recommended you to read Dynamics  365 Business Central Install using Docker post.

In this post I would like to share the following details related to Visual Studio Code setup to start the development for Business Central with AL coding.

  • Install Visual Studio Code
  • Download Certificate and Install
  • Install AL Extension
  • Install VSIX Setup
  • launch.json Settings
  • Download Symbols

Step 1 : Install Visual Studio Code

Visual Studio Code is the open source coding editor from Microsoft. By the help of this software we can start coding for any language by the help of extensions.  This software will work on Operating systems like Windows, Linux and Mac OS. It support features like syntax highlighting, intelligent code completion, snippets, code refactoring and Git hub connection etc.

 Visual Studio Code
Visual Studio Code

You can download the Visual studio code from Microsoft Visual Studio Code Free Download

Step 2 : Download Certificate and Install

After installing the Visual studio code and download the Certificate from the path specified on docker run command result like follows.

Business Central Certificate path
Certificate Path

Copy the path specified on your docker run command and paste it on a browser to download the same. Check the same file on download folder with extension “.cer“.

Congrats now you are having self signed certificate to install

Install Certificate

Now we will see how to install this certificate using following following steps and Images  

  • Step 1 : Locate the file and right click. Click on Install  Certificate option
  • Step 2 : Select Local Machine option and click on Next button
  • Step 3 : Choose Trusted Certificate and press Next to Import the same.
  • Step 4 : Well done Certificate Installation completed
BC Certificate Install Step 1 and Step 2
Certificate Install Step 1 and Step 2
Certificate Install Step 3 - Trusted Certificate Assign
Certificate Install Step 3 – Trusted Certificate Assign

Step 3 : Install AL Extension

So the next steps is to install the AL Extension on Visual Studio Code interface. For doing the same follows below steps

  • Open Visual Studio Code
  • Click on Extensions or press (Ctrl + Shift + X)
  • After that search for “AL Language”
  • Press Install button to install the same
AL Extension Installation

Step 4 : Install VSIX Extension

VSIX Installations steps explained as follows

  • Download the VSIX file from docker run command result
vsix file path
  • Open Visual Studio Code
  • Open command Palette (view -> Command Palatte or Ctrl + Shift + P)
  • Enter command as “Extension:Install from VSIX“
  • Select the VSIX file downloaded via first step of this activity
  • Press “Install”   to complete the same

Congrats you have now successfully complete VSIX file install. Lets continue with next step  

Step 5 : launch.json Settings

Now you have to update the connection settings details on Visual studio code to connect both Business Central and Visual studio code together. For that please follow below steps  

  • Copy the Docker run command result with “Dev. Server : ” value
  • Open Visual Studio Code
  • Locate “launch.json” file
  • Update the “Server” parameter settings
  • replace the existing path with new path and save
launch.json file Setup

Congrats now to you have completed the launch.json file setup. Let us continue with last step in this series  

Step 6 : Download Symbols

  Download symbols steps required to download the object reference details to compile the objects you are going to develop. Following are the steps to complete the same  

  • Open Visual Studio Code
  • Open command Palette (view -> Command Palatte or Ctrl + Shift + P)
  • Enter “AL:Download Symbols” to download the symbols
  • When system asked for credentials , Enter the User ID = Admin and Password: (this is the password available on Docker run command result, please copy the same and paste it here”
  • After successfully verified the authorization system will download the symbols.
After successfully Downloaded Symbols can able to confirm Alpackages

After successfully Downloaded Symbols can able to confirm Alpackages mentioned on the above image.

Congrats now you are ready to start the extension development for Business Central. Cheers !!

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe

  • Email
  • Facebook
  • Twitter

Our Topics

Administration Analysis Reports Business Central Developer Toolkit Docker Dynamics NAV Beta Download Dynamics NAV Release Error Message Finance Module GST Human Resource Login Error LS Retail LS Retail 2013 Manufacturing Module Microsoft Certified Trainers (MCTs) Microsoft Dynamics Business Central Microsoft Dynamics NAV 2009 Microsoft Dynamics NAV 2013 Microsoft Dynamics NAV 2015 Microsoft Dynamics NAV 2017 Microsoft Dynamics NAV 2018 MSDyn365BC NAV 2016 Navision Certification Navision Developer Navision Introduction Navision Modules Navision Retail Navision Tips And Tricks Powershell Purchase Order Sales Module SQL Server Useful Sites Visual Studio Code Warehouse Module

Footer

Recent Post

  • NAVISION HISTORY
  • Business Central Complete Version List and Direct Download
  • Finance Module

Search

Contact : support@navisionplanet.com for Microsoft Dynamics NAV (Navision ) and LS Retail Development or Functional support for any modules

 

Editors News Letter


New Microsoft Dynamics NAV Technical Blog opened the Navision Planet Team

MIBUTECH

https://www.mibutech.blogspot.com

Copyright © 2021 Navision Planet