Pentaho

 View Only
  • 1.  ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...

    Posted 03-14-2023 11:33

    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
    ------------------------------



  • 2.  RE: ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...
    Best Answer

    Posted 03-14-2023 12:44

    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.
    ------------------------------



  • 3.  RE: ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...

    Posted 03-14-2023 13:06

    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
    ------------------------------



  • 4.  RE: ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...

    Posted 03-14-2023 13:30

    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.
    ------------------------------



  • 5.  RE: ERROR [org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport] ...

    Posted 04-04-2023 10:59

    Making that change seems to have eliminated that error.

    Thanks!



    ------------------------------
    John Craig
    Senior Software Engineer
    Henry Schein One
    ------------------------------