Using Common Static Methods in different Report layouts

2 posts, 0 answers
  1. Mark
    Mark avatar
    116 posts
    Member since:
    Oct 2014

    Posted 13 Dec 2018 Link to this post

    I am not sure how to accomplish this.  We want to create a static method, that would be used by multiple reports (ie converting a binary to an image).  Currently, I am having a hard time trying to figure this out.  I know we can use custom methods in the report layout, but only if they exist as a static method of that report layout.  

     

    Also, we are designing reports that inherit from a base or abstract report layout (might only have a header and/or footer band with common controls).  Is there a way to create these methods at the parent level of the class so that all inherited reports see that method? 

     

    Now, I have been messing around with inheritance on the reports and trying to create a method at the parent level and see if the inherited reports can see the method, but they don't.  I have also tried creating a Static Class in the namespace, creating a static method in that class, yes, the reports, when rendered can't see them either.

     

    Any help for this will be greatly appreciated.

     

    Thanks

    Mark

  2. Mark
    Mark avatar
    116 posts
    Member since:
    Oct 2014

    Posted 13 Dec 2018 Link to this post

    I needed a better search to find my answer.  You can disregard my question.

     

    Anyone looking for this answer, look up "User Functions" in Reporting, it's all explained there.

     

    Thanks

Back to Top