tera Posted February 2, 2011 Share Posted February 2, 2011 Hi,I'm new in iReport ( used CrystalReports before ). First off, iReport is a great reporting tool!Now my question: is it possible to create a library with custom functions? I have many reportsand they have all the same custom functions, so I want to share these functions. Would be great if there would a solution for this. Viele Grüßetera Link to comment Share on other sites More sharing options...
tera Posted February 4, 2011 Author Share Posted February 4, 2011 Code:No idea? I have to look for another tool or go back to Crystal, if there is no solution. But I would like to use iReport. BR tera Link to comment Share on other sites More sharing options...
mdahlman Posted February 4, 2011 Share Posted February 4, 2011 Sure, just add your .jar file to the classpath, and you'll have access to your custom functions. Link to comment Share on other sites More sharing options...
tera Posted February 7, 2011 Author Share Posted February 7, 2011 Thanks! Link to comment Share on other sites More sharing options...
neilelliott Posted March 7, 2011 Share Posted March 7, 2011 I'm wanting doing this as well..Is there a base class you must inherit from (like scriptlets) or other general rules/best practise about adding functions? Is there any documentation on this subject ?ThanksNeil Link to comment Share on other sites More sharing options...
NandiniBC Posted March 29, 2012 Share Posted March 29, 2012 1.Create custom jar2. Add the Jar to the iReport classpathTools > Options > Classpath3.import into the report in the form ofcom.utils.util.*4. use as converttoKWATTS(V${varailble1} Hope this helps.-Sonata software Limited Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now