You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a workbook with a single dashboard that uses parameters to select the data in a handful of tables. I am using tabcmd to export the dashboard to PNG and it is failing in cases where the value passed to the parameter has spaces. I am of course encoding the values. I am using Online as the server. The annoying thing is that the same command (key value pairs) works correctly for PDF exports.
This command fails (same parameter values as PDF export) when there is a space or slash in the parameter value (p_industry and p_category) - the command completes but those tables are empty in the PNG output - the other tables present correctly. When I use values without spaces, the data is correctly displayed.
Filtering the data is not yet implemented when exporting a complete workbook to pdf, so the pdf you created is probably just not filtered. (#233 )
Some questions to check
a) What does the pdf look like if you don't pass any filters? OR if you only export one view instead of the whole worksheet?
b) what version of tabcmd were you running? run tabcmd -v to check if you're not sure.
c) what does the png look like if you don't pass any filters?
I have a workbook with a single dashboard that uses parameters to select the data in a handful of tables. I am using tabcmd to export the dashboard to PNG and it is failing in cases where the value passed to the parameter has spaces. I am of course encoding the values. I am using Online as the server. The annoying thing is that the same command (key value pairs) works correctly for PDF exports.
This command produces the correct output
tabcmd export 'df/Focus?p_brand=Advil&p_category=Health%2FMedicines&p_country=US&p_department=HBB&p_industry=Food%20and%20Grocery%20Brands' --fullpdf --pagelayout landscape -f '/Users/stg/Temp/a.pdf' --no-certcheck
This command fails (same parameter values as PDF export) when there is a space or slash in the parameter value (p_industry and p_category) - the command completes but those tables are empty in the PNG output - the other tables present correctly. When I use values without spaces, the data is correctly displayed.
tabcmd export 'df/Focus?p_brand=Advil&p_category=Health%2FMedicines&p_country=US&p_department=HBB&p_industry=Food%20and%20Grocery%20Brands' --png -f '/Users/stg/Temp/a.png' --no-certcheck
a.pdf
I have attached the two outputs created by these two tabcmd commands and the source data used.
r_focus.csv
The text was updated successfully, but these errors were encountered: