Successfully!

Error!

You are viewing 10.0 help doc. More details are displayed in the latest help doc

Email Button Exclusive

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: 11.0 New Features
Already the First
Already the Last
  • Helpful
  • Not helpful
  • Only read

Doc Feedback