MicroStrategy ONE

Page Inheritance

MicroStrategy Web pages borrow the concept of inheritance from object-oriented programming. That is, new MicroStrategy Web pages can be created using pages that have already been defined and exist in MicroStrategy Web. The new inherited pages take over (or inherit) all characteristics (page sections, beans, events, etc.) of the pre-existing MicroStrategy Web pages.

Advantages of page inheritance

  • Helps in reusing and sharing existing MicroStrategy Web pages.  

  • Allows creation of new pages to be built on top of existing MicroStrategy Web rather than from scratch.  

  • All modifications made in an existing MicroStrategy Web page are automatically propagated to all pages that inherit from it.  

  • XML definition of an inherited MicroStrategy Web page is a single line (<page name="InheritedReportPage" prototype="report"/>) as opposed to the entire XML definition of a page that is copied from a pre-existing MicroStrategy Web page. The inherited page can then be further customized with XML definitions for overriding the necessary portions of the inherited Web page. See Page Configuration File for a detailed discussion on the XML structure and definitions for all MicroStrategy Web pages.

It is recommended that you create or duplicate new pages by inheriting from existing pages rather than making copies of existing pages. The Web Customization Editor allows you to create new pages by inheriting from existing MicroStrategy Web pages. See Creating a New Page and Duplicating a Page for instructions on using inheritance.