Select Page

There are cases where the need / requirement would be to use image as selector to open an information window.

The below info would give you a clear cut idea on implementing the same.

Using an image to open a panel stack as Information Window doesn’t work on MicroStrategy Web 9.0.x, 9.2.x, and 9.3.x

In MicroStrategy Mobile, it is possible to place an image in a Dashboard which invokes a Panel Stack as a ‘pop-up’ Information Window (see TN 36031).
However in MicroStrategy Web 9.0.x, 9.2.x, and 9.3.x, this method doesn’t work. When trying to use an image that when clicked opens a Information Window MicroStrategy Web shows an error.
Currently, there is no way to achieve this in MicroStrategy Web. The syntax ‘mstr:///?evt=2048500&panelName=PanelStack’ will work only on MSTR Mobile to open a panel as an information window.
Instead of an information window the image could open a report/document in a new window to simulate the information window. However this won’t allow controlling the size and position of the new window. To achieve this it is necessary to use a HTML container with the code to open the pop up window and the link from an image.
Detailed steps:
1)      Delete the image from the document
2)      Insert a HTML container
3)      Insert an <a> tag with a <img> nested pointing to the image you want to use as a link.
Here is a code example
<a style=”color: #000001″ onclick=”‘Main.aspx?Server=FRIVERO&Project=MicroStrategy+Tutorial&port=0&evt=4001&src=Main.aspx.4001&visMode=0&reportID=7A63F063491AC6A8DC74B58048203FE4&reportViewMode=1′,’popup’,’width=500,height=500,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=180,top=200′); return false”>
<img src=”images/grid.bmp” /></a>
In the previous code a Report with ID 7A63F063491AC6A8DC74B58048203FE4 will be opened in a pop-up window with the following properties
Width: 500 pixels
Height: 500 pixels
Left position: 180 pixels
Top position: 200 pixels
Alternatively a Report Service Document might be used to create a better look and feel for the information window.
4)      Format the HTML container with a transparent border and same background as your document
5)      Once the user runs the document the HTML container will insert the image with the window pop-up code to open the desired report when clicked.
Secured By miniOrange