I have created a jar containing a custom function. This works correctly within reports in JasperStudio
I want to use the custom function to output a calculated field within a JasperServer domain. I am struggling to make this work.
I have loaded the JAR into the webapps\jasperserver-pro\WEB-INF\lib
I can't see the correct syntax/additional configuration required to use this function in the CalculatedField expression box
I have attempted to add it to the applicationContext-el.xml, but all that happens is that JaspereServer passes the function down to the database.
Is what i am trying to do possible?
1 Answer:
Hi there -
I don't have direct response since I don't know exactly. I do know that you can call db functions from the domain designer, but Jar files may be a stretch. I have never seen it done. Maybe someone else can add something to this thread. Great question!