How to setup AL Language environment NAV 2018


Setup Visual studio code for AL Language environment NAV 2018

1.      Install NAV 2018 latest cumulative update ( I have NAV 2018 CU 2) 
2.      Install visual studio code
       After installation, run Visual studio code


 
3.      Install AL extension ( latest version) in visual studio code
    a)      You can install AL extension from below link
      Or
       You can install from NAV 2018 Build.
 
 
       Select path ( Nav installed path)
       C:\Program Files (x86)\Microsoft Dynamics NAV\110\Modern Development Environment

     
              Or

        You can install it from visual studio code
        View àExtensions




  
4.      Connection with NAV server
       To show all commands – Ctrl+Shift+P
 

        Select AL:Go! 
 
       Select your own server (for local environment)



    Show default ServerInstance as NAV and Authentication as Userpassword 
      I am using windows authentication with server instance DynamicsNAV110, so need to change Launch.json file
   
           Save the file Ctrl+S.

5.      Download symbols
          To show all commands – Ctrl+Shift+P          And select – AL: Download symbols
 


 

           Symbols downloaded.
 
            Ctrl+Shift+B - Compile and build the solution

6.      Publish
     Ctrl+F5 - Build and deploy (Publish without debugging)
     Or
     F5 - Publish

     Error related to web client.
     Open RTC client and click on customers
 



 

Comments