XSL samples for simple customization - Microstrategy

This section covers sample XSL changes you can use to achieve simple customization for reports used in HTML document objects in order to build dashboards and scorecards.

Changing color of report link

In the stylesheet default.xsl or simple.xsl, which is used to create a report link, search for the text <xsl:attribute name="HREF">. This is followed by the following tags among others.

You can suitably modify the FACE, SIZE, and COLOR to get the desired format for the report link.

Displaying report information

You can add the following statement to the XSL being used in order to display report description.

<xsl:template match="/"><xsl:value-of select="mi/in/oi/@des" /></xsl:template>

Substitute @des with @n to obtain report name for display.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Microstrategy Topics