Plugins are modules that are connected to a dashboard and used to extend its features.
To create a plugin in the desktop application, execute the following operations:
Create a visualizer form. This form contains components that form plugin appearance, and a code that describes logic of component work in the plugin. The visualizer form must be inherited from the AdhocUserViewForm class. Features of visualizer form code:
If a plugin must support stored properties, create implementation of the AdhocUserViewForm.SaveSettings and AdhocUserViewForm.LoadSettings methods.
If a plugin must support particular data sources, create implementation of the AdhocUserViewForm.SupportedSource property including specification of ClassId of required sources.
Connect the plugin to the desktop application. To do this, use the ISharedPluginsContainer.Plugins property.
The created plugin displays an express report chart that enables the user to change:
Plugin data source (by means of a standard side panel tab).
Selection, by which a chart is plotted (by means of the plugin).
Caption (by means of custom side panel tab).
The view of the plugin and custom side panel tab that is used to set up the plugin:
See also: