You are not logged in.
Pages: 1
I want a report parameter to get its value from a script (script parameter). For that reason I have created a script that simply returns a value.
The returned value is displayed in the parameter tab but I get the following default error in the preview tab:
"Error: An error occurred during report execution.
The report could not be executed: net.datenwerke.rs.core.service.reportmanager.exceptions.ReportExecutorRuntimeException"
I think the report is executed without first waiting to get the value from the script.
If I set a default value for the script parameter, then everything works normally.
What am I doing wrong?
Edit:In the report error I saw the following
"org.eclipse.birt.report.engine.api.impl.ParameterValidationException: Required parameter custID is blank."
custID is the script parameter
Last edited by skosmas (2017-03-03 09:03:40)
Offline
Hi skosmas,
could you please post the script of the script parameter?
"a script that simply returns a value" -> Do you have implemented the javascript methods expected? More details here: https://reportserver.net/en/guides/admi … er-script/
Cheers,
Eduardo
Offline
The script contained only "return 1502" but as I see in the link you provided this was the wrong way to do it.
Offline
Pages: 1