setVersionName( )
Sets the version name of a generated report.
JavaScript syntax
setVersionName(versionName)
Java syntax
public void setVersionName( String versionName )
Argument
versionName
A string that represents the report’s version name.
Usage
Use to specify a version name that includes dynamic data, such as the contents of a report, the value of a report parameter, or the report-generation date.
JavaScript example
reportContext.getAppContext().get("ServerContext").setVersionName("Version " + new Date());
Java example
IServerContext scontext;
scontext = (IServerContext) reportContext.getAppContext().get("ServerContext");
scontext.setVersionName("Version " + new Date());
 

Additional Links:

Copyright Actuate Corporation 2012