Prateek Rawat 3 Posted December 8, 2023 Share Posted December 8, 2023 Hi All,I have created a Tachometer using custom JavaScript in my dashboard.Issue is when I am trying to export it to pdf, it always shows the needle at 0 rather than the actual value that is 30% in the chart.Has anybody faced a similar issue?Regards,Prateek Link to comment Share on other sites More sharing options...
Erik Brandin 2 Posted December 12, 2023 Share Posted December 12, 2023 Hi Prateek,In order for custom HTML to render correctly you must follow the best practices described in this document. I suspect that the custom HTML is rendered asynchronously, and therefore the JavaScript must use the SF.setBusy API described there in order for export to work as expected.I hope that will solve your problem.RegardsErik Link to comment Share on other sites More sharing options...
Prateek Rawat 3 Posted December 19, 2023 Author Share Posted December 19, 2023 This works, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now