Automation

The following are Automation data types (these are not supported by the NAV Web client). OCX and Automation data types are supported in NAV 2017 for backward compatibility only:

  • OCX: Allows the definition of a variable that represents and allows access to an ActpeX or OCX custom control. Such a control is typically an external application object which we can invoke from our NAV object.
  • Automation: Allows the definition of a variable that we may access similarly to an OCX. The application must act as an Automation Server and must be registered with the NAV client or server calling it. For example, we can interface from NAV into the various Microsoft Office products (Word, Excel, and so on) by defining them in Automation variables.
  • DotNet: Allows the definition of a variable for .NET Framework interface types within an assembly. This supports the access of .NET Framework type members, including methods, properties and constructors from C/AL. These can be members of the global assembly cache or custom assemblies.