O'Reilly logo

Extending Microsoft Dynamics NAV 2016 Cookbook by Alexander Drogin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JavaScript in web, phone, and tablet clients

.NET control add-ins are a powerful tool to customize the user interface of NAV Windows clients, but these controls have a significant limitation - they can be used on role-tailored clients only. NAV clients running on web and mobile devices cannot execute client-side .NET code. As an alternative way to customize UI on devices and web, UI elements can be created in JavaScript. The following recipe demonstrates how to create a custom table control based on popular libraries jQuery and jqWidgets. An advantage of the resulting JavaScript control is that it can be executed on any type of NAV client.

Getting ready

This example uses two third-party libraries that should be downloaded from developers' websites ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required