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

KB442092:How to change the temporary directory used by the PDF Export Service in MicroStrategy 10.6 and later


Justin Parks

Principal Product Specialist • MicroStrategy


The following knowledge base article provides details for how to change the temporary directory used by the New PDF Export Service in 10.6 and newer.

Overview
The new PDF Export Engine introduced with Strategy 10.6 requires the use of a temporary folder to extract certain resources for the headless browser phantomjs. By default, this is extracted to the system temp directory(ex. /tmp in Linux). In some cases users may not want to use system temporary directories in which case the directory can be changed with the following property:
 


10.X:
exporter.phantomjs.file.folder=<folder>

11.x:
exporter.renderer.file.folder=<folder>

This can be added to the application.properties file which is located at <MSTR_INSTALL_PATH>/IntelligenceServer/PDFExporter on Linux and <Drive>:\Program Files (x86)\Strategy\Intelligence Server\PDFExportService in Windows. Once added, the service will need to be restarted and it should log a message like below which indicates where phantomjs components will be extracted to: 
 

[NewExportEngine][INFO] Resource phantomjs/phantomjs.js is extracted to /home/test/tmp/phantomjs_637a4e7c-d0d9-4624-9db7-26e8aaa19044.js

Note: The folder chosen for the temporary directory needs to exist otherwise the PDF Export Service will fail to start. ​
KB442092


Comment

0 comments

Details

Knowledge Article

Published:

October 3, 2018

Last Updated:

July 1, 2019