MicroStrategy ONE

Modifying the Images on the Prompt Selection Shopping Cart

In this example, the images used for adding or removing prompt selections to or from the shopping cart style of Prompt are modified. In this example, modify the CSS file that is responsible for rendering the icons used for grid reports and graph reports.

Before customization:

After customization:

This customization can be accomplished using either of the following methods:

Deploying the plug-in provided with MicroStrategy SDK

MicroStrategy SDK provides a plug-in (ZIP file) that can simply be extracted to thepluginsfolder to view the customization in MicroStrategy Web. The following steps guide you in locating the plug-in and deploying it. 

  1. Access the plug-in: JSP version or ASP .NET version

  2. Extract the plug-in to the plugins subfolder inside the MicroStrategy Web installation folder.   

  3. Launch MicroStrategy Web to view the customization.

Using the Web Customization Editor to create a plug-in

MicroStrategy SDK provides a Web Customization Editor that can be used to create a customization plug-in. The following steps guide you in creating the plug-in and deploying it. 

  1. Launch the Web Customization Editor

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

  3. Click on report (Report Execution) to expand the child nodes under it. 

  4. Double-click on CSS to expand the child nodes under it. 

  5. Click on Customizations to expand the child nodes under it. 

  6. Right-click reportPage.css and select New Selector

  7. Enter .mstrBGIcon_tbAdd in the Selector text field. 

  8. Select the radio button for Apply Selector to This Page

  9. Click OK

  10. Right-click .mstrBGIcon_tbAdd and select New Property

  11. Enter background-image in the Property text field. 

  12. Select the radio button for Apply to This Page

  13. Click Utils >>

  14. Click Image to select the new image and click Open

  15. Click OK

  16. Right-click reportPage.css and select New Selector

  17. Enter .mstrBGIcon_tbAddAll in the Selector text field. 

  18. Select the radio button for Apply Selector to This Page

  19. Click OK

  20. Right-click .mstrBGIcon_tbAddAll and select New Property

  21. Enter background-image in the Property text field. 

  22. Select the radio button for Apply to This Page

  23. Click Utils >>

  24. Click Image to select the new image and click Open

  25. Click OK

  26. Right-click reportPage.css and select New Selector

  27. Enter .mstrBGIcon_tbRemove in the Selector text field. 

  28. Select the radio button for Apply Selector to This Page

  29. Click OK

  30. Right-click .mstrBGIcon_tbRemove and select New Property

  31. Enter background-image in the Property text field. 

  32. Select the radio button for Apply to This Page

  33. Click Utils >>

  34. Click Image to select the new image and click Open

  35. Click OK

  36. Right-click reportPage.css and select New Selector

  37. Enter .mstrBGIcon_tbRemoveAll in the Selector text field. 

  38. Select the radio button for Apply Selector to This Page

  39. Click OK

  40. Right-click .mstrBGIcon_tbRemoveAll and select New Property

  41. Enter background-image in the Property text field. 

  42. Select the radio button for Apply to This Page

  43. Click Utils >>

  44. Click Image to select the new image and click Open

  45. Click OK

  46. Right-click reportPage.css and select New Selector

  47. Enter .mstrToolButtonRounded in the Selector text field. 

  48. Select the radio button for Apply Selector to This Page

  49. Click OK

  50. Right-click .mstrToolButtonRounded and select New Property

  51. Enter background-image and url() in the Property and Value text fields respectively. 

  52. Select the radio button for Apply to This Page

  53. Click OK

  54. Save your changes. 

  55. Launch MicroStrategy Web and view the customization.