How to Create a Jasper Report in NG?

I’m curious what the proper procedure is with creating a PDF using Jasper Report. I tried to use code made for the old Web Client, but for some reason it gives an error when it’s run in NG Client.

RMI
Is jasperPluginRMI still supported in the NG Client? For example, this should work right?

var bytes = plugins.jasperPluginRMI.runReport( Foundset, Report_Name, null, plugins.jasperPluginRMI.OUTPUT_FORMAT.PDF, Report_Arguments

VERSIONS
My Servoy Developer Version: 2020.12.1.3623

My Jasper Report Version: 6.2.0

Hi,

what happens if you change it to this? (3rd parameter set to ‘true’)

var bytes = plugins.jasperPluginRMI.runReport( Foundset, Report_Name, true, plugins.jasperPluginRMI.OUTPUT_FORMAT.PDF, Report_Arguments)

Found out what the problem was, I needed to update my Jasper Reports.

https://github.com/Servoy/servoy_jasper … tag/6.12.2

6.2.0 to 6.12.2, now no more error and it can actually generate it. Cheers