EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB34261: How can images be correctly displayed in exported documents, when using a relative path in MicroStrategy Intelligence Server


Community Admin

• Strategy


The following knowledge base article explains how to use relative paths to export images with MicroStrategy Intelligence Server.

Consider that a Strategy Desktop Designer specifies an image location in a report services document as:
 


./images/Image1.jpg

 
For Strategy Intelligence Server Universal, it is important to specifiy the path using forward slash (/). If the backslash (\) is used to specify the image location, the image will not be seen in the exports created by Strategy Intelligence Server 2021 and above.
 
Also, the case (upper case/lower case) of the alphabets specified in the image name should match the case of the actual file name. For example, if the image name is specified as Image.jpg on Desktop, the exact file on the UNIX/Linux operating system should be Image1.jpg. Since UNIX/Linux operating system are case sensitive, a typo in specifying the file name can result in the image not being seen in the exported document.
 
These locations should be applicable to images used in documents as well as images used in thresholds.
 
For PDF export from Web, the image should be placed in:
 
 

<MSTR_HOME_FOLDER>/Intelligence Server/images

 
For PDF export from Desktop, the image should be placed in:
 

<install drive>:\Program Files\Desktop\images

Since Desktop handles the export, image should be placed on every Desktop machine on which the export operation will be performed.
 
For more information regarding the Strategy Common Path, refer to the following Strategy Knowledge Base document: KB31936: Images specified using a relative path are not included when exporting a document to Flash or delivering the document using Distribution Services in the MicroStrategy Intelligence Server 9.x.
 
Since Desktop handles the export, image should be placed on every Desktop machine on which the export operation will be performed.
 
For Excel export from Web, the image should be placed in:
 

<MSTR_HOME_FOLDER>/Intelligence Server/images

 
For Excel export from Desktop, the image should be placed in:
 
 

<install drive>:\Program Files\Desktop\images

 
It is not just sufficient to place the image in the above location. Users should also choose the option to embed the image in the export, when exporting to Excel. This can be located by going to Tools > Document Properties > Export. If this option is not chosen, the relative path is resolved on the machine where the document is opened i.e. it is resolved only when rendering the Excel document.


Comment

0 comments

Details

Knowledge Article

Published:

May 17, 2017

Last Updated:

March 4, 2024