tabcmd - pdf 导出未正确过滤
当我运行下面的批处理文件(使用登录等)时,输出不会根据我在脚本中编写的内容进行过滤(即总经理= Joe Jones)。但是,如果我将这部分代码(“Report-GM/GM?General%20Manager=Joe%20Jones”)粘贴到网址后面,则当我在浏览器中加载页面时,它会正确过滤页面。
tabcmd export "Report-GM/GM?General%20Manager=Joe%20Jones" --fullpdf --pagelayout Landscape --pagesize a3 -f "C:\Users\\Desktop\Reports\JoeJones.pdf"
When I run the batch file below (with login,etc), the output doesn't filter based on what I have written in the script (i.e. General Manager = Joe Jones). However, if I paste that section of code ("Report-GM/GM?General%20Manager=Joe%20Jones") on the back of the url, it filters the page correctly when I load it in the browser.
tabcmd export "Report-GM/GM?General%20Manager=Joe%20Jones" --fullpdf --pagelayout landscape --pagesize a3 -f "C:\Users\\Desktop\Reports\JoeJones.pdf"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
事实证明,它需要编码为“Report-GM/GM?General%%20Manager=Joe%%20Jones”(带有两个百分号)
Turns out, it needed to be coded like "Report-GM/GM?General%%20Manager=Joe%%20Jones" (with TWO percent signs)
显然这是一个已知问题:
https://github.com/tableau/tabcmd /issues/233#issuecomment-1609405260
幸运的是,有人实现了一个脚本作为解决方法:
https://github.com/TheInformationLab/tableau-tools/ tree/main/tableau-server-pdf-downloader
我能够成功地使用它来解决这个问题。
Apparently this is a known issue:
https://github.com/tableau/tabcmd/issues/233#issuecomment-1609405260
Fortunately someone has implemented a script as a workaround:
https://github.com/TheInformationLab/tableau-tools/tree/main/tableau-server-pdf-downloader
I was able to use this successfully to get around this issue.