Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Set Parameter using ActiveX(Parameter Scripting)
Set Parameter using ActiveX [message #1782681] Tue, 27 February 2018 20:08
Alex Christensen is currently offline Alex ChristensenFriend
Messages: 3
Registered: February 2018
Junior Member
I have an HTML Text item on my report that displays the currently logged in user (on the computer) with the following content:
<form>
<label id = "userName">user</label>
<script type="text/jscript">
var net = new ActiveXObject("WScript.Network");
var userName = document.getElementById("userName");
userName.innerText= net.UserName;
</script>
</form>

Is there any way I can have a parameter set to that value? I can't see how I could use this ActiveX object in regular javascript. Any help would be much appreciated!!
Previous Topic:Performance issues with db query being executed several times
Next Topic:How to hide URL parameter from master report to Drill Down Report
Goto Forum:
  


Current Time: Mon Jun 18 08:04:08 GMT 2018

Powered by FUDForum. Page generated in 0.03280 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top