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?



Link to comment
Share on other sites

Hello Sihem,

You would first set


to prevent it from rendering the pdf, and then use


to allow it to continue with the render.

This is e.g. mentioned in the JavaScript Example Script page in the manual:


Another example of it being used:


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