Making that change seems to have eliminated that error.
Original Message:
Sent: 03-14-2023 13:30
From: Petr Prochazka
Subject: ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...
Yes, file is located in this directory on Pentaho Server.
I expected that error is from report designer. :-)
------------------------------
Petr Prochazka
Systems Engineer
P.V.A. systems s.r.o.
Original Message:
Sent: 03-14-2023 13:05
From: John Craig
Subject: ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...
Thanks, Petr!
That does indeed look like the file. On my 9.3.0.2 environment, it is not in a resources directory, but here:
server/pentaho-server/tomcat/webapps/pentaho/WEB-INF/classes/classic-engine.properties
Once I've had a change to test this, I'll have more info to share.
------------------------------
John Craig
Senior Software Engineer
Henry Schein One
Original Message:
Sent: 03-14-2023 12:44
From: Petr Prochazka
Subject: ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...
Hi John,
I'm only guessing. Add property to file classic-engine.properties in resources directory.
------------------------------
Petr Prochazka
Systems Engineer
P.V.A. systems s.r.o.
Original Message:
Sent: 03-14-2023 11:33
From: John Craig
Subject: ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...
Hi Folks,
Doing testing on 9.3.0.2.
Does anyone know what is prevented from happening in reporting by this setting? Javascript for editing interactive reports, perhaps?
The error message has this "helpful" message, but no indication of where the file is that contains the setting:
The system administrator must enable this capability by changing the value of org.pentaho.reporting.engine.classic.core.allowScriptEvaluation to true.
Can someone point me to the file (and any documentation there might be about this setting).
Thanks!
John
------------------------------
John Craig
Senior Software Engineer
Henry Schein One
------------------------------