Dashboards & Visualizations

Dashboard Export to Pdf Not working with Table view created using javascript..

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi All,
I'm facing an issue in export to pdf in dashboard. My dashboard has only one table view panel which is created by TableView (splunkjs/mvc/tableview). In Pdf panel is not showing .

var myTable = new TableView({
    id : "mysearchid",
    managerid : "searchManager",
    rowNumbers : true,
    el : $("#div_id")
});

So is that any other configuration missing in javascript ??

Thanks
Kamlesh

Tags (1)
0 Karma

kkrishnan_splun
Splunk Employee
Splunk Employee

Could you please try adding the render() function at the end, like so
el : $("#div_id")
}).render();

Also make sure that you have this piece of code before you define the myTable variable,
var searchVariable = new SearchManager({
id: "searchManager",
preview: true,
cache: true,
search: "yourSearchSPL"
}, {tokens: true});

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...