[H5] Mobile HTML Special Links to Call, SMS and Email

  • Last update:December 09, 2021
  • I. Overview

    1. Imprint

    Report server versionApp versionMobile HTML5 version
    10.010.0V10.2.17


    2. Application scenario

    When designing reports, we often need to implement some friendly functional interactions.

    For example: click on the phone number to directly display the call or send text messages, click on the mailbox to send the email directly, etc. So how to achieve it?

    Note: This method does not support the App terminals.

    II. Example

    1. Add embedded

    Add embedded, select the Table Design, the specific design is shown in the figure below.1.png

    After the design is complete, clickOK and chooseInsert Row. Enter information such as contacts and mobile phone numbers. The specific effect is shown in the figure below.

    2.png


    2. Set template style

    Set the format of the template and drag the data of the built-in data set into the cell. And in theD2,E2,F2cells, enter "Make a call", "Send a text message" and "Send an email" in sequence.

    As shown below:

    3.png


    3. Set cell formula display

    Click on cell D2, selectCell Attribute-Display, selectFormula Form, enter D2 formula: ='<a href="tel:'+B2+'">'+$$$+'</a>'

    As shown below:

    4.png

    Same as above, set the formula form of cellsE2 andF2.

    E2 formula: ='<a href="sms:'+B2+'">'+$$$+'</a>'

    F2 formula: ='<a href="mailto:'+C2+'">'+$$$+'</a>'


    4. Set the display mode of the cell

    Select cellsD2,E2,F2, setCell Attributes> Other> Display Content, and selectDisplay by HTML.

    As shown below:

    5.png   


    5. Effect preview

    1) PC terminal

    Note: The PC terminal currently only supports sending emails.

    6.png

    2) H5 terminal

    7.png

    III. Download template

    Please refer to the completed template: %FR_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\SpecialSubject\[H5] [H5]Mobil_HTML _special_links_to_call_SMS_and_email.cpt

    Click to download: 

    [H5]Mobile_HTML _special_links_to_call_SMS_and_email.cpt

    Attachment List


    Theme: Fine Mobile
    • 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