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:
<label id = "userName">user</label>
<script type="text/jscript">
var net = new ActiveXObject("WScript.Network");
var userName = document.getElementById("userName");
userName.innerText= net.UserName;

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: Sun Aug 09 00:47:30 GMT 2020

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

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

Back to the top