Tag Archives: information window

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!