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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...