Successfully!

Error!

Image Export Setting Plugin

  • Last update:  2024-04-19
  • Overview

    Application Scenario

    When you send a template via email, it is common to export the template as an image and attach it in the body of the email.

    Sometimes you need to export multiple pages as one image, while sometimes you need to export each page as one image.

    DPI affects the clarity and size of images, and different users have varying requirements for DPI.

    Function Description

    By using the Image Export Setting plugin, you can set Thumbnail or Pagination, and Resolution of the exported images.

    Notes

    1. The plugin takes effect in the image export settings in the body of the email, not the image export setting on the toolbar.

    2. There is no need to download the plugin for users whose designers are in version 11.0.7 and later, as the plugin has already been embedded in the designer (version 11.0.7 and later). For more details, see Template Export Attributes.

    Plugin Introduction

    Plugin Installation

    You can obtain the plugin at Image Export Setting.

    For details about installing the plugin in the designer, see Designer Plugin Management.

    For details about installing the plugin on the server, see Server Plugin Management.

    Plugin Application

    After installing the plugin, click the Template tab, and select Export Attribute from the drop-down list. The Image tab is added to the Export Attribute settings page, and you can click the tab to set the exported images, as shown in the following figure.

    1. Resolution can be set to 96dpi192dpi (default setting) or 300dpi.

    2. Layout can be set to Thumbnail (default setting) or Pagination.

    图片1.png

    iconNote:
    When enabling Thumbnail, the number of pages should not exceed 50 at 96dpi, 24 at 192dpi, or 16 at 300dpi, otherwise the export will fail.

    Example

    Opening a Template

    Download and open the template in the path %FR_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\SpecialSubject\HyplinkReport\CellsRelate.cpt.

    Image Attribute Setting

    Choose Template > Export Attribute > Image to set up the attribute of the exported image, as shown in the following figure.

    图片1.png

    Hyperlink Adding

    Select A1 cell, click Hyperlink on the right sidebar, and select Email from the drop-down list of Add Hyperlink. Fill in recipient information and tick Preview Report Content in Body, as shown in the following figure.

    iconNote:
    For details about configuring the sender email, see Email Service.

    图片3.png

    Effect Display

    Save the template and click Pagination Preview. Click the field Order ID (hyperlink) to send the template to the email of the recipient automatically. The following figure shows the effect.

    图片2.png

    iconNote:
    The function is not supported on mobile terminals.

    Notes

    Problem:

    After the project is migrated/restarted, the plugin usage is abnormal.

    Cause:

    The Email Preview Report Content Image Display plugin will generate temporary image files. The cache path of the temporary files is stored in the FINE_CONF_ENTITY table in the FineDB database.

    After the project is migrated or restarted by other users, the users who start the project will fail to send the email if they do not have the folder permission to access the path.

    Solution:

    View the value of the CacheConfig.cacheDirectory field (cache path of the temporary image files) in the FINE_CONF_ENTITY table in the FineDB database.

    Grant read and write permissions to the cache path for users launching the project.

    Attachment List


    Theme: Report Application
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback