MicroStrategy ONE

Associating a Style with a Bean

This topic provides step-by-step instructions on associating a style to a bean on a MicroStrategy Web page.

  1. Launch the Web Customization Editor

  2. Click MicroStrategy Web Configuration inside the Application Settings view to expand the hierarchical tree. The expanded list comprises the different settings that can be modified to perform customizations. 

  3. Click Pages to expand the list of pages used in MicroStrategy Web. 

  4. Expand the appropriate page to display the Beans and CSS folders. 

  5. Click Beans to display the list of beans used on that page. 

  6. Double-click the bean for which you wish to add the style. The Bean Properties tab of the page gets displayed. 

  7. Select the Bean Styles tab below the Bean Properties tab. 

  8. Click the Add button on the left to select a style. The Select Elements shopping cart opens with a list of styles. 

    If you highlight only one style in either pane, information about the style may display in the pane below. If you highlight multiple styles, only the text Multiple Selection is displayed. 

  9. Select the appropriate styles and click OK. The selected styles are copied to the text box on the left.

  10. You must select style properties for each style. 

    1. In the text box on the left, highlight a style to which you will add properties. 
    2. Click the Add button under the Style Info section to select properties for the style. The Select Elements shopping cart opens with a list of style properties.

    3. Select the appropriate style properties. 

      If you highlight only one style property in either pane, the declaration for that property is displayed in the pane below, together with other information. If you highlight multiple properties, only the text Multiple Selection is displayed. 

    4. Click OK. The style properties that you selected are added to the Style Properties list. 
    5. Highlight each style property and use the Source drop-down menu and the Value text box to select a source and value for the property. The options for Sourceare described below.

      • default: The default source is request.

      • request: The value is returned by an HTTP request.

      • enum: The value specifies the ID of a Java enumeration. Consult the API documentation for a list of available enumerations.

      • const: This source setting uses a constant value.

      • preferences: The value is the ID of a MicroStrategy Web preference.

      • browserSetting: This source uses a browser cookie.

      • feature: This source setting uses a MicroStrategy Web feature.

  11. Save your changes.

After you have completed this task, you must restart the application server for changes to take effect, unless the reloadConfigurationFiles property in microstrategy.xml is set to true. See Applying Customization Changes for information on changing the value of the reloadConfigurationFiles property.