You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
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