Article #3 - Microsoft Dynamics 365 Business Central - Getting started with AL Programming
Dr. S. Gomathi
Microsoft MVP | MCT Community Lead | 4 X MCT | Microsoft Learn Expert | PL-100, PL-300, PL-400 ,PL-600, MB-820 | Head of L & D Atna Technologies | Asia & India Books of record holder | Published Author | Global Speaker
It's time to learn. Spend your 5 minutes to gain knowledge.
If you missed the previous article on Introduction to AL Programming, check here
Let's see how to get started with AL programming by connecting with Microsoft Dynamics 365 Business Central
Follow these steps
- Sign?up for a?Dynamics 365 Business Central?sandbox
- Download?the?AL Language extension?in?VS?code
- Press?Alt+A, Alt+L?to trigger the?AL Go!?Command or Click View-> command?palette.
- Choose?a path to a new empty?folder.
- Select?the version to?run.?
- Then?choose?Microsoft cloud sandbox?as the?server.
- Enter?the credentials that you provided for the sign-up.
- Press?Ctrl+F5?to deploy and run the extension on your online sandbox?tenant.
You have a?HelloWorld?sample that compiles and runs.
You can see a launch.JSON file. JSON means Javascript Object Notation.
The JSON files in the project will be updated automatically.
If you press Ctrl+F5,?the solution will be built and deployed to Business Central.
Helloworld file may show you an error. If so, even not, you have to download the AL Symbols. AL symbols have the packages required to run the AL programs.
- Download?the AL symbols (Open?command Palette?(view -> Command Palatte or Ctrl + Shift + P))
- Once the Symbols are installed, you are ready to go.
- Press Ctrl+F5 to run the HelloWorld program.
- AL program will execute the browser by launching the Microsoft Dynamics 365 Business Central.
That's all for today.
If you have trouble with any of the steps mentioned above, you can check this VIDEO.
Tomorrow we will learn about the Business Central Object types.
领英推è
For more queries, please leave your comments.
For corporate training on AL programming language and other Microsoft based technologies, dm me.
Check here to know more about?ATNA Technologies
Thank you for reading this article.
Regards,
References: