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; …

Substr in Auto-texts

Hello there! Today lets talk about how to create a substr in auto-texts. You just have to: 1. Create a new document; 2. Create an HTML Container; 3. Insert this code: <script type="text/javascript"> function substringFunc(){ var username= document.getElementById("pText").innerHTML; document.getElementById("pText").innerHTML = username.substr(1,5); } </script> <p id="pText">{&USER}</p> <script> document.getElementById("pText").onload= substringFunc(); </script> 4. Change the substr values to …