Default selection on a Radio Button selector

Hello there, Recently I was having issues with a selector that was selecting a radio button but it wasn't selecting the first element by default and I couldn't use a slice selector to solve that issue. So, I had to implement this code to do it using javascript. It is very simple, you just need to …

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 …