Skip to content

Exporting Pdf's using parameters and filters not working #163

@tedkriwiel

Description

@tedkriwiel

I've been using bash scripts for the last few years that cycle through a list of strings to filter the view and outputs the dashboards into a series of pdf's. In the last few months those have been failing. I've tried everything I can think of to troubleshoot and still can't get them to work. Here's an example of the command that I run:

tabcmd export "E-CommunityOverview/E-CommunityProfile?Fund%20Name=Humboldt_Allen%20County" --fullpdf -f "/Volumes/{filepath}/{filename}.pdf" -p $key
tabcmd export "E-CommunityOverview/E-CommunityProfile?FundNameFilter=Altamont" --fullpdf -f "/{filepath}/{filename}.pdf" -p $key
Setup:

  • Apple M1 Pro
  • macOS Monterey Version 12.5
  • Tableau Online

Results:

  • I am not getting any errors
  • The pdf is created and sent to the file path with no issue
  • The command ignores the filter parameters in the tableau online url. (Every pdf result is the same unfiltered result.)

Troubleshooting Steps:

  • The workbook originally filtered on a parameter but I've also tried to filter with a dimension field and neither work
  • I've tried formatting the parameter in the url by double encoding it ie: Fund%%20Name=Humboldt_Allen%%20County
  • I've tried formatting the command request by adding "Parameters" to the prefix ie: "E-CommunityOverview/E-CommunityProfile?Paramters.FundNameFilter=Altamont"
  • I've tried deleting the parameter from the workbook and creating a new one
  • I've tried deleting the workbook from Tableau Online and re-publishing
  • I've confirmed that the filters work in the Tableau Online UI
  • I've confirmed that the filters work when you append the parameters to the URL in Tableau Online

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.0.7bugSomething isn't workingfixedquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions