Successfully!

Error!

[General]Set the Mobile Terminal Template

  • Last update:  2021-12-14
  • I. Overview

    1. Version

    Report server version
    10.0


    2. Function introduction

    1)Provide the canvas size of the mobile terminal exclusive template in the designer, guide users to make the mobile terminal template in the appropriate size, and improve the ease of use.

    2)At the same time, when the template is set as the exclusive template on the mobile terminal, the size of the template canvas and other adaptive related settings will be directly changed, and it is irreversible;

    Therefore, if the user operates the current template without clearly customizing the mobile terminal template function, it will cause some problems. Now a new save as function is added to avoid this situation.

    II. Operation steps

    The following describes show that how to set the mobile terminal template in different situations.

    1. cpt template

    In cpt, click Template>Mobile Atrribute, and check Set as mobile canvas size, as shown in the figure below:

    1.pngAfter clicking OK, modify the width of the edge line in the report pane, as shown in the figure below:

    2.png


    2. frm template

    In frm, click Template>Mobile Attribute, check Set as mobile canvas size, and check Adaptive attributes atuo match by default, as shown in the figure below:

    3.png

    After clicking OK, the canvas size is set to 375*560. The horizontal width of the canvas is locked and cannot be adjusted, and the vertical height can be modified, as shown in the following figure:

    4.png

    Add a canvas edge line in the report block, as shown in the following figure:

    Note: The newly added edge line in the report block of the dashboard does not have the function of pagination, and only serves as a reminder to the user of the appropriate width.

    5.png


    3. Templates with existing content

    When the user sets the template on the mobile terminal, judge whether there is content in the current template

    1)If there is content

    Take a general report as an example, and open the built-in GettingStarted.cpt template.

    Select Template>Mobile Attribute, check Set as mobile canvas size, as shown in the figure below:

    6.png

    Click OK, and save as another template will pop up. The template name is the current document name plus "_mobile", and the file storage location is optional, as shown in the following figure:

    Note: If you choose to cancel, the template function on the mobile phone will not take effect.

    7.png

    III. Matters needing attention

    Problem phenomenon:

    Set to the mobile terminal template, the width is not automatically changed to 375, retaining the original width.

    Possible reason:

    When setting the mobile terminal template, change the size. If there is an interval in the template, the width and height of all the reduced components will be judged. If there is any one, the component is smaller than the minimum height of 17 or smaller than the minimum width of 36, it will not be reduced because it is not supported.

    In this case, it may cause the set mobile terminal template frm, the width of the entire template canvas does not change to 375.

    Solution:

    Modify the template configuration. After setting the interval of body to 0, configure the size template for preview on the mobile terminal to achieve normal results.

    Attachment List


    Theme: Fine Mobile
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback