MicroStrategy ONE

Loading panels on demand in MicroStrategy Web

Before you begin

The panel stack is the holder for a group of panels. You must add a panel stack before you can insert more panels (a new panel stack already contains one panel). The panels contain the controls (Grid/Graphs, text fields, and so on) that actually display the data, such as metrics and graphs, that a user sees. For a more detailed description of panels and panel stacks, see Layering data in RS dashboards: Panels and panel stacks. Before defining how panels are loaded, you should be familiar with the different parts of a panel stack. See Defining the parts of a panel stack for detailed descriptions.

In MicroStrategy Web, all the panels of a panel stack can load when the document is executed, even though only one panel is displayed to the user. This ensures that these pre-loaded panels display immediately when the user selects a different panel. However, if the user is unlikely to access all the panels in a panel stack, or if you want to optimize the initial load time of the document, you can specify that the panels load on demand.

When panels are loaded on demand, only one panel is loaded when the document is executed in MicroStrategy Web. Other panels are loaded only the user selects them. The document therefore opens faster, although panels loaded on demand will take some time to load when they are selected. After a panel is loaded, it remains cached on the client until the document is closed.

On-demand panel loading occurs when the document is executed in MicroStrategy Web with DHTML enabled. In MicroStrategy Developer, only the current panel is displayed, selectors are not active, and therefore other panels are not available. On-demand panel loading does not occur in Flash View (MicroStrategy Developer) or Flash Mode (MicroStrategy Web).

If your browser supports DHTML, DHTML is enabled in MicroStrategy Web by default. For more information on DHTML, and instructions to enable it, see the MicroStrategy Web Help.

You can define how panels are loaded at two levels:

  • For all the panel stacks in the document (the document-level setting)

  • For each panel stack

This allows you to easily set different panel load settings for different panel stacks. For example, a document contains multiple panel stacks. You want to pre-load all the panels of all the panel stacks, except for the panel stack that contains many panels. At the document level, define the default panel load setting to pre-load all panels. For the specific panel stack, specify that only the current panel is pre-loaded.

To specify the default panel load setting for all panel stacks in a document

The document-level setting applies to all panel stacks that use the default panel load setting. You can change the panel load setting for specific panel stacks as well, as described in To specify how to load panels for a specific panel stack.

This setting applies to all layouts of a multi-layout document.

  1. Open the document in the Document Editor. (How?)

  2. From the Format menu, select Document Properties. The Document Properties dialog box opens.

  3. Select Advanced.

  4. Choose one of the Pre-load options:

    • To pre-load all panels when the document is executed in MicroStrategy Web, unless the panel load setting for a specific panel stack is defined differently, select All panels of all panel stacks.

    • To load only the current panel of all the panel stacks in the document, select Current panel only of all panel stacks. Other panels are loaded when the user requests them.

      Panels are loaded on demand only in MicroStrategy Web when DHTML is enabled. For instructions on enabling DHTML, see the MicroStrategy Web Help.

  5. ClickOKto return to the document.

To specify how to load panels for a specific panel stack

  1. Open the document in the Document Editor. (How?)

  2. Right-click the panel stack to modify and select Properties. The Properties dialog box opens.

  3. Select one of the following Pre-load (DHTML only) settings:

    • To use the document-level setting, select Inherit from document.

    • To pre-load all panels when the document is executed in MicroStrategy Web, select All panels.

    • To load only the current panel when the document is executed in MicroStrategy Web, select Current panel only.

      Panels are loaded on demand only in MicroStrategy Web when DHTML is enabled. For instructions on enabling DHTML, see the MicroStrategy Web Help.

  4. Click OK to return to the document.

Related Topics