MicroStrategy – Inserting images using a relative file path

Link to Polish version

 

In this article, I will focus on explaining how to insert images into MicroStrategy projects using a relative file path. To take advantage of this functionality, it is important to first ensure that the image file has been placed in the appropriate location on the server where the MicroStrategy products are installed. It should be noted that the specific location where the image file must be stored depends on the MicroStrategy tool the user is working with to display the project.

 

Displaying images in MicroStrategy Mobile:

MicroStrategy\Mobile Server ASPx\images

Common Files\MicroStrategy\images (for subscription)

/usra/releases/921GA_9.2.200.063/Linux/install/images (Unix, for subscription)

 

Displaying images in Microstrategy Web:

MicroStrategy\Web ASPx\Images

Tomcat\webapps\MicroStrategy\images

MicroStrategy\IntelligenceServer\images (allows export to PDF and Excel).

 

Displaying images in MicroStrategy Desktop:

MicroStrategy\Desktop\images (allows export to PDF and Excel).

MicroStrategy\IntelligenceServer\images

Common Files\MicroStrategy\images

/usra/releases/921GA_9.2.200.063/Linux/install/images (Unix)

 

Displaying images in MicroStrategy Distribution Services:

MicroStrategy\IntelligenceServer\images

Common Files\MicroStrategy\images

/usra/releases/921GA_9.2.200.063/Linux/install/images (Unix)

 

Displaying images in MicroStrategy Library:

Common Files\MicroStrategy\Tomcat\apache-tomcat-9.0.74\webapps\MicroStrategyLibrary\images

 

Images should be saved in one of the following formats: BMP, JPG, JPEG, or GIF. These are the only formats supported when exporting a project to a PDF file.

When working with a Unix server, special attention should be paid to the following aspects:

  • 1. Avoid spaces
  • 2. Never use the backslash "\"; always use the forward slash "/"
  • 3. Case sensitivity matters

Once you have ensured that the images are in the correct location and saved in the proper format, you can proceed to insert them into the project.

Use case scenario:

1. Place image files saved in the correct format into the appropriate folders, depending on the MicroStrategy tool chosen for use.

2. In the selected MicroStrategy tool, navigate to the "Insert Image" option, and then provide the relative path to the file, for example:
.images/flagaPL.jpg

 

Use case scenario in  MicroStrategy Web – Document

Path: .imagesflagaPL.jpg

3. Export to PDF

 

MicroStrategy Library Case

It should be noted that when displaying images in MicroStrategy Library, the relative file path must be ./images/flagaPL.jpg rather than ./Images/flagaPL.jpg. This is because in the Tomcat Web Server used by Library, the folder for images is named ./images (with a lowercase "i").

To display images correctly in MicroStrategy Library, it is essential to pay attention to this detail.

MicroStrategy Web – Dossier

MicroStrategy Library

Leave a comment