Klemen's Blog

kl82slo.github.io

Microstrategy add images to dossie covers

01 Nov 2023

Dificulty ★★☆☆☆

INTRO

If you want to add pictures to dossie covers collection the solution is not as seamless as you would think.

How to do it

Let’s say we want to try adding
https://www.pinterest.com/pin/249879479318637219/
https://www.pinterest.com/pin/634515034970940369/

to
Cover

First add images to new folder
(you can use other locations)
C:\Program Files (x86)\Common Files\MicroStrategy\Tomcat\apache-tomcat-9.0.80\webapps\Images\Dossie_Cover

Download extra images into that folder
(In this case renamed to 60.gif and 61.jfif)

Test if you can access current images
http://localhost/Images/Dossie_Cover/23.jpg

For Microstrategy web change file (backup first)
C:\Program Files (x86)\Common Files\MicroStrategy\Tomcat\apache-tomcat-9.0.80\webapps\MicroStrategy\javascript\bundles\html5-vi.js

find H=”https://demo.microstrategy.com/MicroStrategy/images/Coverpages/16-9/”
change it to H=”http://localhost/Images/Dossie_Cover/”

and add new images after P=[
example
H=”https://localhost/MicroStrategy/Images/Dossie_Cover/”,P=["60.gif","61.jfif",“22.jpg”,”23.jpg”,
Cover2

for Libray the same can be done in file
C:\Program Files (x86)\Common Files\MicroStrategy\Tomcat\apache-tomcat-9.0.80\webapps\MicroStrategyLibrary\javascript\bundles\mojo-dossier.js

!note you do not have to restart tomcat in order for this to work but clearing cache or going incognito is a must.