MicroStrategy ONE

Add-on Interface

AppAddOn

The AppAddOn interface contains the following methods: 

  • preCollectData(PageComponent pg)
    A static method that accepts the PageComponent as the input before collectData() has been called.  Allows you to alter the default workflow before data is collected from Intelligence Server. 
  • postCollectData(PageComponent pg)
    A static method that accepts the PageComponent as the input after collectData() has been called.  Allows you to perform manipulations or additional functions after data has collected from Intelligence Server. 
  • getDescription()
    Returns a detailed description for the add-on.

Since the PageComponent is available to the add-on, all the beans on the page can be readily accessed for manipulations. Before writing any bean-specific code, check the type of the bean on which the add-on performs the necessary manipulations.

AbstractAppAddon

This is an abstract class that implements the AppAddOn interface and is used as the base for any add-on class that you build.