Opening an Information Window using JavaScript

Hello there!

Today let’s talk about how to open an Information Window using Microstrategy Web SDK.

To do that, you just have to edit your OIVM_Content_Core.jsp (if you are using J2EE for Microstrategy Web) and put a code like that:

    function openIW(){
        var idIW = mstrmojo.App.docModel.infoWinByKey;
        var idIWA = mstrmojo.App.docModel.infoWindows;
        var contIndex= 0;
        var indexVar= 0;
        for (var itemA in idIWA) {
            if(itemA == “filterPanelName“){
                indexVar= contIndex;
        contIndex= 0;
        for (var item in idIW) {
                mstrmojo.App.docModel.showInfoWin(item, 1);


This is a simple implementation JavaScript code that opens an Information Window that has filterPanelName as it’s  id name. You can use the id name that you wish.

Now, you just have to create a button or link, for example, to trigger that event, like this:

<a href=”#”onclick=”openIW()”>Open IW</a>


Note: Just remember to set “Fixed” to the position of your IW.

Hope it helps!

God bless you!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.