Hi, does anyone know if there is an option to define custom functions in velocity script.
Hard to fine more info on the internet.
Regards
Solved! Go to Solution.
Yes, they’re called Velocimacros: the #macro directive. You can read a lot about them in my blog posts.
Be aware that Velocimacros are intended to return Strings (they’re for output, in other words). But they can work with any other datatype internally.
Yes, they’re called Velocimacros: the #macro directive. You can read a lot about them in my blog posts.
Be aware that Velocimacros are intended to return Strings (they’re for output, in other words). But they can work with any other datatype internally.