导出到 HTML 时将 html 中的评论添加到 Tableau 仪表板

Add comments in html to Tableau dashboard when exporting to HTML

我有一个包含 Web 对象的画面仪表板。 Web 对象对特定仪表板进行了评论,它基本上只是服务器中的 html。当我在 Tableau 服务器中打开它时,它运行良好并且显示正确。当我将其导出为 PDF 时,Web 对象根本不显示。根据画面文档,将不会显示 Web 对象。是否有另一种方法可以让 web 对象或 html 在 PDF 中显示?

我可以使用 python 和 tabcmd 来实现这一点,我乐于接受任何类型的建议,这个要求对于我正在做的事情来说是完全必要的,我对此非常满意点.

谢谢!

根据 Tableau Community Forums,由于 Web 对象的工作方式,无法在仪表板中导出 Web 对象的内容:

Thank you for contacting Tableau Technical Support. I understand exported PDF on Tableau Server is not including the contents of web pages. Please let me know if I misunderstood your request.

It is the expected behavior that exporting views to PDF will not include web page objects. The dashboard containing a web page object has no knowledge of what is in the web browser object so it is left blank.

我能想到的一种方法是构建一个 Web 数据连接器,将评论提取为文本数据,然后进行一些字符串操作以按照您的需要格式化视图,并将该视图添加到您的仪表板。