Develop extension for Expression builder

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

BIRT 4.3.1

locale de_DE

Comments

  • Anybody have an idea?

    BIRT 4.3.1

    locale de_DE

  • edited June 2018

    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.

    Jeff F.
    Customer Support Engineer I
    OpenText
  • Hi Jeff,

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

    Max

    BIRT 4.3.1

    locale de_DE

Sign In or Register to comment.