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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...