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

KB5710: How to modify an XSL stylesheet so that hyperlinks to reports in document objects do not appear when using MicroStrategy Developer or Web


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This article explains how to modify an XSL stylesheet so that hyperlinks to reports in document objects do not appear when using MicroStrategy Developer or Web.

This document uses the Strategy Extensible Stylesheet Language (XSL) stylesheet 'Default.xsl' as an example.
 
Perform the following steps to modify the XSL stylesheet so that hyperlinks to reports in document objects do not appear.

  1. Make a backup copy of the original 'Default.xsl'.
  2. Edit this stylesheet with an XML editor or alternatively with Notepad.
  3. Remove the following lines of code from the stylesheet for grid report:
    <!-- report link -->
    <A><xsl:attribute name="HREF">RebuildReport.asp?ReportID=<xsl:value-of select="$sReportID" />&MsgID=<xsl:value-of select="/mi/im/@mid" />&view=Grid&redirect=False&Duplicate=True</xsl:attribute
    ><FONT FACE="Verdana,Arial,MS Sans Serif" SIZE="1" COLOR="#000000"
    ><B><xsl:value-of select="/mi/rit/rd/mi/in/oi/@n" /></B
    ></FONT
    ></A>
    <P />
  4. Remove the following lines of code from the stylesheet for graph report:
    <A><xsl:attribute name="HREF">RebuildReport.asp?ReportID=<xsl:value-of select="$sReportID" />&MsgID=<xsl:value-of select="/mi/im/@mid" />&view=Graph&redirect=False&MajorType=<xsl:value-of select="./@gat" />&MinorType=<xsl:value-of select="./@git" />&Duplicate=True</xsl:attribute>
    <FONT FACE="Verdana,Arial,Sans Serif" SIZE="1" COLOR="#000000">
    <B><xsl:value-of select="/mi/in/oi/@n" /></B>
    </FONT>
    </A>
  5. Save the changes made to the stylesheet.
  6. Run a document in either Strategy Developer or Strategy Web. Notice that there are no hyperlinks generated below each report in the document object.

Comment

0 comments

Details

Knowledge Article

Published:

May 17, 2017

Last Updated:

May 17, 2017