MicroStrategy ONE

Altering the Report Title Text Displayed on the Report Execution Page

By default, when you execute a report in MicroStrategy Web, the navigational path information displayed under the toolbar on the Report Execution page includes the title of the report as the last piece of information in the path.

In this customization scenario, you modify the presentation of the report title for an executed report so that the report type— grid, graph, or grid and graph— is displayed in parentheses after the report title in the navigational path.

Before customization:

After customization:

This customization can be accomplished using either of the following methods:

Deploying the plug-in provided with MicroStrategy SDK

MicroStrategy SDK provides a plug-in (ZIP file) that can simply be extracted to thepluginsfolder to view the customization in MicroStrategy Web. The following steps guide you in locating the plug-in and deploying it.
 

  1. ccess the plug-in: JSP version or ASP .NET version

  2. Extract the plug-in to the plugins subfolder inside the MicroStrtegy Web installation folder.   

  3. Launch MicroStrategy Web to view the customization.

Using the Web Customization Editor to create a plug-in

MicroStrategy SDK provides a Web Customization Editor that can be used to create a customization plug-in. The following steps guide you in creating the plug-in and deploying it. 

  1. Launch the Web Customization Editor

  2. Click on MicroStrategy Web Configuration inside the Application Settings view to expand the hierarchical tree. The expanded list comprises the different settings that can be modified to perform customizations. 

  3. Right-click Styles and select Create Transform to launch the Transform Creation Wizard

  4. Click Browse... next to the Source folder text field to select the src folder and click OK

  1. Enter the following information for the rest of the text fields.

    Package: com.microstrategy.sdk.samples.transforms
    Name
    : CustomReportPathTransform
    Transform description
    : This transform displays custom text after the report name.Superclass: com.microstrategy.web.app.transforms.ReportPathTransform 

  2. Click Next

  3. Click the radio button for Uncheck all methods

  4. Click Next

  5. Click Finish. CustomReportPathTransform.java opens in the editor. The sample, CustomReportPathTransform.java, contains the entire code for this custom transform. You can use this code in CustomReportPathTransform.java that is open for editing. 

  6. Save your changes. 

  7. Navigate to Styles->ReportPathStyle

  8. Double-click ReportPathStyle to launch the Style Properties editor in the right frame. 

  9. Click Change to select a new transform. 

  10. Enter CustomReportPathTransform in the text field. 

  11. Select CustomReportPathTransform from your project and click OK

  12. Save your changes. 

  13. Launch MicroStrategy Web to view the customization.

See Also