Jump to content

SF.setBusy(false) not working for my javascript, unable to use the export to PDF which just hangs


sihem merah

Recommended Posts

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

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.htm

Another 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...