Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Create a new project in VS Code


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.


  • Press CTRL + SHIFT + P
  • AL:GO!

 

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",

            "server""http://10.10.xx.xx:5500",

            "port"55049,

            "serverInstance""NAV",

            "authentication""UserPassword",

            "startupObjectId"22,

            "startupObjectType""Page",

            "breakOnError"true,

            "launchBrowser"true,

            "schemaUpdateMode""Synchronize"

        }

    ]

}

  

Download symbols

  • Press 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 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:

Setup Mobile WMS dependency from your own custom extension (.al)

 

  • No labels