Tag Archives: Document

Adding Outline mode to a Document in DHTML mode

Hello there!

My friend Edmar Machado sent me a cool hack to enable Outline mode in documents using Interactive Mode!

To make it works, you just have to:

1-  Edit the file styleCatalog.xml in Microstrategy Web:

For IIS: C:\Program Files (x86)\MicroStrategy\Web-Inf\XML\styleCatalog.xml

For Tomcat: C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\MicroStrategy\WEB-INF\xml

Note that this is the default installation folder. You might have installed in a different folder.

2- Search for the style ReportOutlineModeStyle_forRW 

3- Inside this style, look for staticOutlineMode

4- Change the value parameter to False

<Style description="Style: Display Grid in outline mode within RWD"
 name="ReportOutlineModeStyle_forRW" transform="ReportOutlineModeTransform">
 <ActualParameters>
 <ActualParameter name="iframeEnabled" type="4"
 value="true" />
 <ActualParameter name="generateJSForDrillCheckBoxesForIncFetch"
 type="4" value="false" />
 <ActualParameter name="staticOutlineMode" type="4"
 value="false" />
 <ActualParameter name="showDescriptionAsTooltip"
 type="2" source="preference" value="showDescriptionAsTooltip" />
 <ActualParameter name="showSubtitle" type="1"
 source="preference" value="showSubtitle" />
 <ActualParameter name="useImagesForOutlineMode"
 type="4" source="preference" value="useImagesForOutlineMode" />
 <ActualParameter name="contextMenus" type="1"
 value="/WEB-INF/xml/config/reportCellContextMenus.xml" />
 <ActualParameter name="drillRetainParent" type="1"
 source="preference" value="drillRetainParent" />
 <ActualParameter name="drillRetainThresholds" type="1"
 source="preference" value="drillRetainThresholds" />
 <ActualParameter name="advancedDrillingContextMenuDisplay"
 type="2" value="2" />
 <ActualParameter name="sortSetNamesAndDrillPaths"
 type="4" source="preference" value="sortSetNamesAndDrillPaths" />
 <ActualParameter name="groupContextMenuDrillPathsByType"
 type="4" source="preference" value="groupContextMenuDrillPathsByType" />
 </ActualParameters>
 <Layouts>
 <Layout layout_source="AppLayoutSourceFile" order="1"><![CDATA[/WEB-INF/xml/layouts/ReportGridOnlyLayout.xml]]></Layout>
 </Layouts>
 </Style>

5- Restart your Web Server

Now you will be able to use Outline in Interactive mode!

pic

 

Hope it helps!
God bless you!

Splitting attribute element into different sheets in Excel

Hi there, today I’m going to talk about splitting in different sheets your attribute elements when you export your document to MS Excel.

To do this trick, you just need to:

1. Add your attribute in the Grouping area like image 1 below:

Image 1

Image 1

2. Right click on the attribute and choose Grouping Properties

pic2

3. Check Sheet break between groups

pic3 

4. Export to Excel and choose Expand Page-by

pic4

When you open in excel you will get something like this:

pic5

Each element has one sheet in the exported excel file.

I hope it helps you!

God bless you.