Installing and using JavaScript control add-ins
The process of installing a JavaScript control mostly follows the installation of a .Net add-in, but it has its own specifics determined by the necessity of including a bunch of script files and style sheets into an installation along with the .NET assembly file.
How to do it...
The current recipe covers installation of a JavaScript control add-in and its subsequent usage in application development.
Copy the
NavCustomTable.dll
assembly file developed in the JavaScript in web, phone, and tablet clients recipe, into the NAV client add-ins folder.Pack the
Manifest.xml
file along with bothScript
andStyleSheet
folders in a.zip
archive,NavCustomTable.zip
. The archive should have the following structure:Run the NAV client and open the Control Add-ins page located under Departments | Administration | IT Administration | General.
In the Control Add-ins list, click New and fill the control add-in parameters:
Name:
CustomTableControl
Note
The name of...