API Only for Email Button

  • Last update:  2022-02-15
  • changeFormat

    Note: There is no mail button in the dashboard, so the following contents are not supported in the dashboard.

    MethodchangeFormat(items)Modify the format options supported by mail
      Parameter

    items:newFormats[]

    items:Modified format, string array

    Return value

    void

       Example

    Example 1: If the obtained toolbar email button object is defined as button , modify the email support format to only support pdf

    button.changeFormat(['pdf']);

    Example 2: In a general report, modify the format supported by the email to only support pdf

    _g().getToolbar().getWidgetByName("email").changeFormat(['pdf']);

    Example 3: In a general report, modify the email support format to support pdf and Word

    _g().getToolbar().getWidgetByName("email").changeFormat(['pdf','Word']);

    Application

    example

    Modify the email support format to only support pdf:

    Click to download the template:

    Modify email button format.cpt

    1.png

    MobileNot support mobile terminal


    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