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
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 $keytabcmd export "E-CommunityOverview/E-CommunityProfile?FundNameFilter=Altamont" --fullpdf -f "/{filepath}/{filename}.pdf" -p $keySetup:
Results:
Troubleshooting Steps: