Develop extension for Expression builder

Max Bo
edited February 11, 2022 in Analytics #1

Hi all,

I would like to develop my own function to use it in the expression builder. Goal is to have a function that is calculating the proper Code 128 String based on the input value. I know how to code the function in Java but how do I actually create a new function that I can use in the expression builder?

Is there a tutorial or similar that walks you through the necessary steps?

Max

Warning No formatter is installed for the format ipb

Comments

  • Anybody have an idea?

    Warning No formatter is installed for the format ipb
  • jfranken
    edited June 29, 2018 #3

    Hi Max,

    I haven't created an extension, but since nobody else has responded I will try to help. This is an article I found awhile ago that provides a good explanation. It's old so some things might have changed, but hopefully it will be helpful.

    http://birtworld.blogspot.com/2008/09/birt-231-adding-functions-to-expression.html

    Also, on the report's Properties tab, there is a sub tab called "Resources". You can attach jar or JavaScript files to the report and reference them in your report code.

    Warning No formatter is installed for the format ipb
  • Hi Jeff,

    Thanks for following up on this! I actually solved it by directly using the .jar file in the Expression Builder :)

    Max

    Warning No formatter is installed for the format ipb