EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB289072: How to set the default accordion menu for different report and document view modes using MicroStrategy 10.x


Community Admin

• Strategy


Starting with MicroStrategy 10.x, administrators can set the default accordion menu in the right side panel when opening a report, MDX report or document by following the steps outlined in this article.

SUMMARY:
Starting with Strategy 10.x, administrators can set the default accordion menu in the right side panel when opening a
a) report in design or run mode
b) MDX report in design or run mode
c) document in design or run mode
 

ka04W000000Ogy3QAC_0EM4400000025Vc.jpeg

 
The accordion menu can be set to one of the following:
 
All Objects - (reports only)
Report Objects - (reports and documents)
Related Reports  - (reports and documents)
Notes - (reports and documents)
MDX Objects - (reports only)
 
ACTION
1. Create a plugin folder under [WEB-DEPLOYMENT-FOLDER]/plugins.
2. Inside the plugin folder create the following folder structure: WEB-INF/xml/
3. Create pageConfig.xml file inside xml folder.
4. Insert the following xml is an example to set documents in run mode and reports in design and run mode to default to "Notes":
 


<framework>
  <pages>
    <page name="rwd">
      <web-beans>
        <web-bean name="accordion">
          <init-properties>
             <property name="defaultTabNameRWRun" source="const" type="string" value="notes"/>
          </init-properties>
        </web-bean>
      </web-beans>
    </page>
    <page name="report">
      <web-beans>
        <web-bean name="frame">
          <web-beans>
            <web-bean name="accordion">
              <init-properties>
                <property name="defaultTabNameReportRun" source="const" type="string" value="notes"/>
                <property name="defaultTabNameReportDesign" source="const" type="string" value="notes"/>
              </init-properties>
            </web-bean>
          </web-beans>
        </web-bean>
      </web-beans>
    </page>
  </pages>
</framework>

 
 5. Save and restart Web Server.
 
The possible values to construct the customization are:
 
1. Documents:

<page name="rwd">

 
2. Reports:

    <page name="report">

 
 3. Property names:
 
    For Documents:

  •  defaultTabNameRWRun
  •  defaultTabNameRWDesign

    For Reports:

  • defaultTabNameReportRun
  • defaultTabNameReportDesign
  • defaultTabNameMDXReportRun
  • defaultTabNameMDXReportDesign

 
4. Property Values:

  • objectBrowser - (reports only - All Objects)
  • workingSet - (reports and documents - Report Objects)
  • relatedReports  - (reports and documents - Related Reports)
  • notes - (reports and documents - Notes)
  • mdxObjBrwsr - (reports only - MDX Objects)

Comment

0 comments

Details

Knowledge Article

Published:

June 7, 2017

Last Updated:

June 7, 2017