自定义函数配置

  • Last update:June 13, 2022
  • 1. 问题描述

    文档自定义函数中在自定义函数类编写完后,还需要在设计器中进行注册,即在设计器菜单栏服务器>函数管理器中添加,如下图所示:

    Snag_5fa8b84.png

    本文将介绍函数管理器中配置的自定义函数信息存储在 FineDB 的 fine_conf_entity 表中的位置。

    2. 配置信息

    函数管理器中配置的自定义函数信息都会存储在 FineDB 的 fine_conf_entity 表中,字段都是以 FunctionConfig.functionDefList 开头。

    每个自定义函数会被随机分配一个 8 位的 UUID,在数据库中存储格式为:

    字段含义
    FunctionConfig.functionDefList.hm480sJe.className类名com.fr.test.gauthority
    FunctionConfig.functionDefList.hm480sJe.description
    __EMPTY__
    FunctionConfig.functionDefList.hm480sJe.name函数名gauthority

    在进行项目集成时,若报表应用使用了自定义函数,

    1)要将%FR_HOME%\webapps\webroot\WEB-INF\classes目录下的自定义函数的class文件拷贝到服务器应用中。

    2)要使用设计器远程连接报表工程,在菜单栏服务器>函数管理器中添加对应自定义函数

    Attachment List


    Theme: 下架文档
    Already the First
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy