Options

Automation Data Type and usage in Dynamics NAV

Hello guys, nowadays we have so many integration with other third party applications. Sometimes you might use your own classes to get some work done. Here are some important article regarding Automation Data type and its usage in Dynamics NAV.

Let’e begin with basics, What is Automation data type ? Of course, it is complex data type in dynamics NAV, Also it uses the Automation data type to reference an automation server. In order to use an automation server in C/SIDE. This kind of things falls under COM technologies. C/SIDE supports COM and it has two ways: using custom controls (OCXs) and as an automation controller.

Please note that we have some limitation when we use COM.

Only non-visual controls are supported.A control cannot be used to add graphical elements to a C/SIDE object. For example, you cannot add a third-party control to a form. The control can, however, display information and interact with the user in a window of its own.
Let’s go bit deeper now. Let me create simple C# class to demonstrate how to create automation type object and register it and call inside Dynamics NAV.

Read Full Article With Sample code
Sign In or Register to comment.