sihem merah Posted April 5, 2023 Share Posted April 5, 2023 Dear all,I have a problem with my Spotfire file as attached where I am doing some Javascript on rendering listbox filters in a text area. I am not able to use the export to PDF Functionality, which endlessly has that turning wheel. I have tried to use SF.setBusy(false) in my js code, but it's not doing anything. Anyone has used that before? Where do you add that line of code exactly? Thanks!Sihem Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted April 12, 2023 Share Posted April 12, 2023 Hello Sihem,You would first set SF.setBusy(true);to prevent it from rendering the pdf, and then use SF.setBusy(false) to allow it to continue with the render.This is e.g. mentioned in the JavaScript Example Script page in the manual:https://docs.tibco.com/pub/sfire-analyst/latest/doc/html/en-US/TIB_sfire-analyst_UsersGuide/text/text_javascript_example_scripts.htmAnother example of it being used:https://support.tibco.com/s/article/Custom-HTML-in-TIBCO-Spotfire-Text-Area-visualization-is-not-rendered-when-exporting-to-image-or-PDF 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