Tag Archives: exporting

Exporting the document with the current selections

Hello there,

Today I’ll explain how to export the current document with the current selections.

To export to PDF, you just have to create a hyperlink using:

ASPx:

Main.aspx?evt=3069&src=Main.aspx.3069&executionMode=3&messageID={&DOCUMENTMESSAGEID}

JSP:

mstrWeb?evt=3069&src=mstrWeb.3069&executionMode=3&messageID={&DOCUMENTMESSAGEID}

 

To export to Excel, you just have to use these urls:

ASPx:

Main.aspx?evt=3069&src=Main.aspx.3069&executionMode=4&messageID={&DOCUMENTMESSAGEID}

JSP:

mstrWeb?evt=3069&src=mstrWeb.3069&executionMode=4&messageID={&DOCUMENTMESSAGEID}

 

Hope it helps!

God bless you!

Displaying images in exported documents using relative path

Hello there!

I don’t know if you guys have some issues with images not appearing when exporting a document that contains a relative path for the image (./images/nameOfTheImage.jpg).

To make it works you have to save your image in specific folders.

Those folders are:

 

For PDF export from Web, save the image in your Intelligence Server machine in:

 <MSTR_HOME_FOLDER>/Intelligence Server/images

 For PDF export from Desktop, save the image in your local machine in:

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

For Flash export from Desktop, save the image in your local machine in:

<install drive>:\Program Files\CommonFiles\MicroStrategy\images

For Excel export from Web, save the image in your Intelligence Server machine in:

 <MSTR_HOME_FOLDER>/Intelligence Server/images 

 

For Excel export from Desktop, save the image in your local machine in:

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

 

After that, if you pretend to export to Excel file, you also have to change the behavior of the exportation in your document. You just have to:

For web: Go to Tools > Document Properties > Export and check “Embed images” option, like the image below:

pic1

For desktop: Go to File -> Page Setup -> Export and check “Embed images” option, like the image below:

pic2

Now, when you export your document using relative path, you will see your image there!

Hope it helps.

God bless you.