CenterView includes a dashboard plugin API, which makes it possible to write Java plugins that can do the following:
- Extract data from sources not natively supported by CenterView
- Transform data in a datafunnel
- Generate HTML to be included on a dashboard page or KPI
- Generate Corda Image ITXML
- Generate Corda Image PCScript
In the case of getting data from an external source, the plugin is responsible for extracting the data from the external source and delivering it to CenterView in a two-dimensional grid.
To transform data, the plugin is presented with data from a datafunnel in a two dimensional grid; it can then manipulate, consolidate, or restructure the data in any way that is needed and then return it in a two dimensional grid.
For HTML, ITXML, and PCScript, the plugin returns a string that contains the appropriate code.
The plugin also can call back into CenterView to access variables (such as request vars and dashboard vars), to request the contents of one or more datafunnels (even a datafunnel/data transform plugin can request other datafunnel contents), and to log information to the log or to the HTML console that appears in development mode.
The following methods are provided in the plugin API: