MicroStrategy ONE

Adding, Removing, or Modifying Page Sections

Sometimes a customization requires you to add or remove custom content (text or images) to a MicroStrategy Web page. This topic provides a quick overview of how to achieve this task and provides a list of scenarios that showcase the steps.

As described in the MicroStrategy Web Page Structure, there are several page sections that comprise a MicroStrategy Web page. Once you have identified the MicroStrategy Web page to customize, the Pages setting in the Web Customization Editor provides information about the page template and page sections used by that MicroStrategy Web page. You can see the actual jsp/ascx file that is used to display the content for any page section. Thus, to modify (add or remove) custom content in these jsp/ascx files (that is, in the page sections), you have two options.

  1. Modify the existing jsp/ascx file (that is, the page section) 

  2. Create a new jsp/ascx file to be used by a page section

 

Modify the existing jsp/ascx file (that is, the page section)

In this approach, you modify the default Report_Content.jsp/ascx that provides content to the Content page section of the Report Execution page.

  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. Click on Pages to expand the list of pages used in MicroStrategy Web. 

  4. Double-click the report (Report Execution) page. 

  5. Click the Template Properties tab at the bottom in the right frame to make changes to the Default page template. 

  6. Right-click the content page section and select Make section empty or Edit current file as appropriate. 

  7. If you selected Edit current file, click the Yes button in the prompt to edit Report_Content.jsp/ascx

  8. Save your changes.

Some customization scenarios that use this approach:

Create a new jsp/ascx file to be used by a page section

In this approach, you create a new file customReport_Content.jsp/ascx and use this file to provide content to the Content page section of the Report Execution page.

  1. Save the new file customReport_Content.jsp/ascx inside the jsp or asp subfolder of your customization plug-in. 

  2. Launch the Web Customization Editor

  3. 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. 

  4. Click on Pages to expand the list of pages used in MicroStrategy Web. 

  5. Double-click the report (Report Execution) page. 

  6. Click the Template Properties tab at the bottom in the right frame to make changes to the Default page template. 

  7. Right-click the content page section and select Choose a new file

  8. Navigate to the location of the new file customReport_Content.jsp/ascx (inside the jsp or asp subfolder of your customization plug-in), select it and click Open

  9. Save your changes.

Some customization scenarios that use this approach: