User guide
ExtremeWare EPICenter Software Installation and User Guide 16-25
Creating New Reports
— A stringcontainingtheparameterthat shouldthatshouldbe availabletotheHTML
file. The values for theparameters can beobtained in the various Tcl methods using
extr::GetSessionParam
You must ensure that the appropriate environment variables are set to allow access to Tcl.
Theseshouldbesetasfollows:
For Windows NT, set variables as follows:
TCL-LIBRARY=<epicenter_install_dir>/tcl/lib/tcl8.3
PATH=$PATH:<epicenter_install_dir>/tcl/bin
For Solaris, set the LD_LIBRARY_PATH variable as follows:
LD_LIBRARY_PATH=<epicenter_install_dir>/tcl/lib/tcl8.3
Useful Methods for Debugging
The GetfromDB, ExecuteExtrCommand and GetSessionParam methods are defined as
follows:
#####################################################################
# extr::GetFromDB
# Used to make any SQL query to the database through the
# Epicenter server. The result is a SQL result table,
# formatted within HTML tags.
#
# Arguments
# A string representing an SQL query.
#
# Returns
# The result table of an SQL query embedded in HTML tags.
#
#####################################################################
#####################################################################
# extr::ExecuteExtrCommand
# This is the public method typically used during debugging.
# When a user wants to run an HTML file through the reporting
# engine, to generate dynamic html, s/he calls this method.
# Users will need to use this method only during debugging.
#
# Arguments