Create Templates By Code

  • Last update:  2020-12-17
  • 1.Description

    Sometimes users have the needs to generate cpt templates in high volume. It is difficult to manually make them. Finereport offers developers a vast number of public APIs to perform in-depth development and controls. By this means cpt templates can be made in batches through Java programming.

    2.Example

    2.1 Full Executable Code

    check out the link below to see details:

    https://github.com/finereport-overseas/example/blob/release/10.0/src/main/java/com/fr/io/CreateGenericTemplate.java

     Find the generated company.cpt under the corresponding path after execution.

    Open up the template in finereport designer, as it shown below: 


    Attachment List


    Theme: Secondary Development
    • 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