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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...