Jump to content
We've recently updated our Privacy Statement, available here. ×

How do I clear Javascript resources


Nicholas Zawackis

Recommended Posts

When I'm developing JavaScript code, I try to make use of everything I can to monitor variables, troubleshoot errors, and perform test-use cases. Currently, when I use alert messages or post variables to JavaScript objects, they somehow get saved in the background and can't be cleared in the current session. The result: I run the program once, get an alert message and data. Tweak the program a little, re-run, now I get 2 alert messages and the data may or may not override. If I re-run, I get 3 alert messages... if keeps going.

It's at the point where if I have to develop JavaScript code in a dashboard, I have to completely close and re-open the session to make sure I clear the background resources. This isvery time consuming.

My impact:

Currently affects 2 dashboards

Potential to affect a total of 10 dashboards within the next 6 months

Link to comment
Share on other sites

  • 2 years later...

Can you do the following to enable the Development Tools menu option.select Tools > Options, go to the 'Application' pageand select the 'Show development menu' check box

 

Now after making any changes to your JavaScript can you goto Tools- Developement - Reload Browser. That should help.

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