javascript runtime for opentext

Recently upgraded from Actuate BIRT Prof v4.4 to OpenText Analytics Designer [Version: 24.4.0] [Build id: v20180424] with BIRT (v4.8).

trying to migrate the templates/rptdesigns ( which has javascript to render the fields) from Actuate to opentext and facing javascript issues.

we had Ecmascript 3 in Actuate, however Opentext (after installation) picked up local Node js as default runtime. Is that might be the issue ? do I need to installe Rhino engine ?

example of an issue:

following script for split function returns below error:
var fieldList="location,name,title";

var fieldArr=fieldList.split(",");
Error:
Invalid javascript expression: TypeError: Cannot find default value for object. (/report/method[@name="initialize"]#11) org.eclipse.birt.core.exception.CoreException: Invalid javascript expression: TypeError: Cannot find default value for object. (/report/method[@name="initialize"]#11) org.eclipse.birt.report.engine.api.EngineException: Invalid javascript expression: TypeError: Cannot find default value for object. (/report/method[@name="initialize"]#11)
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.addException(ScriptExecutor.java:249)
at org.eclipse.birt.report.engine.script.internal.ReportScriptExecutor.handleInitialize(ReportScriptExecutor.java:93)
at org.eclipse.birt.report.engine.api.impl.EngineTask.loadDesign(EngineTask.java:1975)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:219)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:115)
at com.actuate.reportapi.engine.birt.ReportGenerationTask.runTask(ReportGenerationTask.java:1130)
at com.actuate.reportapi.engine.birt.ReportGenerationTask.generateReport(ReportGenerationTask.java:208)
at com.actuate.reportapi.engine.ReportGenerationTaskBase.doTask(ReportGenerationTaskBase.java:154)
at com.actuate.reportapi.engine.Task.execute(Task.java:340)

Comments

Sign In or Register to comment.