The AL sample "Hello World" project https://github.com/microsoft/AL/tree/master/samples/HelloWorld is included in AL when using the "AL:Go" 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.
Create a new project in VS Code
!AL:Go (Alt + AL)
Target platform:
- 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": "DOCKER05", "server": "http://10.10.139.44:5500", "port": 55049, "serverInstance": "NAV", "authentication": "UserPassword", "startupObjectId": 22, "startupObjectType": "Page", "breakOnError": true, "launchBrowser": true, "schemaUpdateMode": "Synchronize" } ] }
Download symbols (Ctrl+Shift+P, AL: Download symbols)
Troubleshooting
If you are unable to download symbols:
- Verify your server and instance url from a browser i.e. http://10.10.139.44:5500/nav
- Verify your port. Consult your installation script or use "docker ps" to see any redirects:
Publish and run "Hello World" project (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:
Setup Mobile WMS dependency from your own custom extension (.al)