See also: Before extending
Connect mobile device to development environment
It's highly recommended to have a mobile device connected to your development environment to be able to test your changes during the development process.
While in theory you would be able to inspect your customized Xml responses from the Mobile Document Queue, it would be very hard and time consuming to emulate meaningful "OnPosting" requests without the use of a scanner.
Mobile devices for demonstration- and development purposes can be purchased from Tasklet Factory at discounted rates.
Preparing a new project in VS Code
Create and publish the Hello World demo project to make sure your connection to the development server is working and you are able to download symbols from the server, as well as deploying your solution to the server:
Publishing the Hello World demo project (.al)
Setup dependencies between extensions
Setup Mobile WMS dependency from your own custom extension (.al)
In the Hello World project, you may want to clean up things a little bit before going ahead:
- Remove "HelloWorld.al" file from the project
- In app.json change "name" and "publisher" to something more meaningful. See: Sample app.json for bc13/bc14
Your custom Mobile WMS Extension project is now ready for you to add your custom code including subscribing to events described in the Extension API Documentation
Next: