...
Create a new project in VS Code
The AL sample "Hello World" project https://github.com/microsoft/AL/tree/master/samples/HelloWorld is included will be created in AL when using the "AL:GoGO" command.
Creating and publishing the "Hello World" project is useful to make sure your launch.json and app.json is correctly configured, before adding the additional complexity of referencing the Mobile WMS App.
Step 1: Run AL:GO
- Press CTRL + SHIFT + P
- Type AL:GO!
...
You will be asked to:
- Select target
- bc15 = Target platform 4.0
- bc14 = Target platform 3.0
- bc13 = Target platform 2.0
Default folder is: C:\Users\xxx\Documents\AL\ALProjectxx
Update launch.json to reference your own development server i.e.:
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "DOCKER01", CHANGE THIS
"server": "http://10.10.xx.xx:5500", CHANGE THIS
"port": 55049, CHANGE THIS
"serverInstance": "NAV",
"authentication": "UserPassword",
"breakOnError": true,
"launchBrowser": true,
"schemaUpdateMode": "Synchronize"
}
]
}
...
- Connect to your Online Sandbox or local development server
Step 2: Download symbols
- Press CTRL + SHIFT + P (F1 if you are using function keys)
- AL: Download symbols
Info | ||
---|---|---|
| ||
If you are unable to download symbols:
|
Step 3: Publish and run project
- Press F5
If you get the message "App published: Hello World" from the BC Web Client, everything is working and you are ready to start developing your Mobile WMS Extension.
Next:
...
Add dependency for Mobile WMS Extension
...