Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  1. Select target
  • bc15 =  Target platform 4.0
  • bc14 = Target platform 3.0
  • bc13 = Target platform 2.0

Image Removed

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"

        }

    ]

}

  

...

  1. Connect to your Online Sandbox or local development server


Step 2: Download symbols

  • Press CTRL + SHIFT + P
  • AL: Download symbols

 

Info
titleTroubleshooting

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:

Image Removed

 


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

...