Successfully!

Error!

Text Component

  • Last update:  2023-08-31
  • Overview

    This document is applicable to users who have installed the Data Portal plugin to learn plugin functions.

    Version

    Report Server Version

    Data Portal Version

    Functional Change

    11.0.7

    V1.0

    /

    11.0.8

    V1.1

    /

    11.0.8

    V1.2

    Allowed component background of the text component to be built-in images.

    11.0.8

    V1.4

    Allowed text component content to contain formulas.

    Function Description

    This document introduces how to use Text Component in the data portal dashboard.

    文本组件-预览1.gif

    Adding a Component

    Log in to the decision-making platform as admin, choose System Management > Data Portal > Portal Management, and click Add Portal to create a data portal dashboard, as shown in the following figure.

     

    On the data portal editing page, click Other, and click/drag Text Component to the data portal, as shown in the following figure.

     

    Component Content

    Select a component. Then you can set the component content on the right.

    Setting Content

    Text Component allows you to input texts, and set the font, font size, color, format, hyperlink, and formula, as shown in the following figure.  

    iconNote:

    1. Text component supports setting vertical alignment of text in Data Portal plugin V1.2 and later versions.

    2. Text component supports inputting formulas in the content in Data Portal plugin V1.4 and later versions. Supported formulas are shown in the following table.

    ClassificationSupported FormulaDescription

    System Parameter

    ${fine_username}

    ${fine_position}

    ${fine_role}

    ${fr_username}

    ${fr_userposition}

    ${fr_authority}

    ${GETUSERDEPARTMENTS()}

    ${GETUSERDEPARTMENTS(X)}

    ${GETUSERJOBTITLES()}

    Note:

    You need to enclose formulas in ${} brackets.

    Example:

    ${fine_username}

    DATE Function

    DATE, DATEDELTA, DATEDIF, DATEINMONTH, DATEINQUARTER, DATEINWEEK, DATEINYEAR, DATESUBDATE, DATETONUMBER, DAY, DAYS360, DAYSOFMONTH, DAYSOFQUARTER, DAYSOFYEAR, DAYVALUE, ENDOFMONTH, HOUR, ISWORKDAY, LUNAR, MINUTE, MONTH, MONTHDELTA, NOW, SECOND, TIME, TODATE, TODAY, WEEK, WEEKDATE, WEEKDAY, YEAR, and YEARDELTA

    Note:

    You need to enclose formulas in ${} brackets.

    Example:

    ${now()}

    Effect Display

    When previewing a data portal, you can view content in the text component and click a hyperlink to open it on a new tab page, as shown in the following figure.

    文本组件-预览1.gif

    Component Style

    Select a component. Then you can set the component style on the right.

    You can set only the component background for the component style of text components. You can set Component Background to Color, Custom image or Built-in Image.

    ·       Color: You can select a single color and set its transparency.

    ·       Custom Image: You can upload local JPG/PNG/GIF/BMP image files. These images are adapted to the component by default.

    ·       Built-in Image: You can select among four header images to adapt to different portal styles in the Data Portal plugin of V1.2 and later versions. Built-in Image is added as an option for the component background of the text component.

    For details, see Data Portal Style.

    文本组件-样式.gif

    Other Settings

    Deleting a Component

    Select a component and click  to delete the component, as shown in the following figure.

     

    Adjusting a component

    Hover your cursor over a component, and drag the dotted box popped up to resize and relocate the component, as shown in the following figure.

     文本组件-移动.gif


    Attachment List


    Theme: Decision-making Platform
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback