Skip to main content
Skip table of contents

Checklist for emailing as PDF or PNG

Fields needed

You can automate emailing a pdf or png copy of any one view, one dashboard, or every published tab in one workbook.

Field NameSample ValuesRequired?Explanation
ID112

Required

Any name or id value you make up. Numbers are recommended. The ID is helpful for tracking each line if there is a problem.

URL

TestA/Sheet3

RequiredThe part of the master report's URL that comes after /views/  and before   See more below.
URL-Filters?Salesperson Name=John SmithOptional

The Tableau attribute to be used as a filter, and the value that is to be selected. For multiple selections, put a comma between the values:
?Region=20,22
or

?Salesperson Name=John Smith
or combine multiple filters with an ampersand
?Salesperson Name=John Smith&Region=20,22
Recipient-Email-Addressjsmith@yourcorp.com;jdoe@yourcorp.comRequiredone or more email addresses to receive this report, separated with semi-colons.
Recipient-NameJohn SmithOptionalFor your reference only. You may add whatever comments you want here.
Output-File-Name"J Smith Sales.pdf"
    or
JSmithSales.png
Required

The name of the report that will be attached to the email.
No special characters. If there are spaces in the name, the name must be surrounded by quotes.

Output-Format

pdf
png
    or
fullpdf

Required"fullpdf" will include every published tab in the workbook. Note that for this feature, the workbook must be published with Show Sheets as Tabs.
Subject-LineJohn's Daily Sales reportRequiredThe text that will appear in the subject line of the email.
Body-LinePlease see the attached report.OptionalThe text that will appear in the body of the email.
Options--pagelayout portrait --width 800Optional

Optional PDF format options for pagelayout, pagesize, width and height. See more below.

ScheduleM1
S
D

Required

M1 = first of the month

S = weekly on Sundays

D = Daily, early mornings after the nightly refresh


PDF Format Options


example: --pagesize legal --pagelayout landscape
OptionAvailable ParametersExampleComment
--pagelayoutlandscape
portrait
--pagelayout portraitSets the page orientation (landscape or portrait) of the exported PDF. If not specified, its Tableau Desktop setting will be used.
--pagesizeunspecified
letter
legal
note folio
tabloid
ledger
statement
executive
a3
a4
a5
b4
b5
quarto
--pagesize legalDefault is letter.
--width(number of pixels)--width 800Default is 800 pixels (px).
--height(number of pixels)--height 600Default is 600 pixels.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.