Custom functions

0

I have followed the instructions of http://community.jaspersoft.com/wiki/jaspersoft-studio-expression-editor... on how to create a custom function. I can see the sample functions in my expression editor but when i add my own function it is not accessible. Also if i delete both of the custom functions, my custom functions folder it is not visible in expression editor. Am i missing something?Do i have to inform studio for my changes. I have restarted studio after i added my function but with no luck

 

 

StudioUser_100's picture
Joined: Feb 3 2015 - 8:09am
Last seen: 4 years 8 months ago

1 Answer:

0

You should 'register' functions in both jasperreports_extension.properties file and the jasperreports_messages.properties file that can be located in your custom function folder.

You'll need version 6.0.3 btw as well, before that version there was some trouble with those functions see http://community.jaspersoft.com/jaspersoft-studio/issues/3972

Rebooting sometimes fixes the problem in older versions. If it doesn't work, you can try to manipulate the excisting functions (change content etc. so it does what you want and then change is step by step; did help/learn me a lot ).

 

Good luck!

gert_1's picture
210
Joined: Aug 7 2014 - 12:25am
Last seen: 4 years 3 months ago
Feedback
randomness