MicroStrategy ONE

Visualizations Configuration File

In a MicroStrategy visualization plug-in, the visualizations.xml configuration file adds the new visualization to the visualization gallery so that it is an option for use in a dashboard and to the list of visualizations available for use in a document, and links it to the style you created in styleCatalog.xml. The visualizations.xml file in the template plug-in has basic code to add a new visualization, which you must modify. 

Copy
<visualizations>
   <visualization-list name="ajax">
      <!-- Define a new visualization, with the style name defined in stylecatalog.xml and with is-mojo="true"-->
      <!-- id is a unique identifier for the visualization, such as the name of the plugin-->
      <!-- desc is the name that is displayed in the list of visualizations for use in a document or dossier. Replace "name to be displayed for visualization" with the name to appear in the gallery or list.-->
      <!-- is-mojo specifies whether this is a mojo visualization-->
      <!-- scope is a bit-wise value that specifies which MicroStrategy objects the visualization can be applied to: -->
      <!--     2  Report grids in documents --> 
      <!--    16  dossiers -->
      <!-- style-name is the name of the style used to render the visualization. Replace "visualization rendering style" with the name of the style in styleCatalog.xml that renders the visualization-->
      <visualization id="MstrVisTemplate" desc="name to be displayed for visualization" is-mojo="true" scope="18" style-name="visualization rendering style"/>
   </visualization-list>
</visualizations>