So, I opened a .js file of a perfectly fine working extension and all I did was changing the color hex code from green to red for a particular element. This change is not reflected on the screen when testing with Qlik Sense on my computer (still green element). But if I copy the extension to someone else computer (who never had the extension in the first place), then the change is shown (red element).
So I guess that Qlik Sense kind of caches the initial settings and that's why I am still seeing the previous color?
I tried the following:
- closing + reopening qlik sense
- removed the whole extension folder + shut down + copied it back
- tried the above in a new Sense app...
I ran out of ideas what else I could do...and I guess its something simple that every web-dev would know instantly
Thanks for your help.
Solved! Go to Solution.
For decision changes to the file .js in the extensions folder had to rename the main file extension .js (in my case is the same file .js) and of the same name file .qext. It helped me. Probably this is due to the use of the cache memory in the platform Qlik Sense.
This is due to caching by the web browser, which is normal behaviour to prevent unnecessary reloading of the .js file - which can be awkward when performing development. As this is normal browser behaviour you may find information on how to suppress the cache and force a reload by Googling these terms.
The caches are only cleared automatically by web browsers when you close all the instances of the browser, which will include closing Sense. For occasional changes to the extensions, that may be OK, but it is inconvenient at least.
Although I am not sure whether these will work with the browser in QS desktop...
Two other way of clearing Chrome cache :
a) Hit Ctrl+Shift+Delete (windows) and you'll get a opup window with an option to clear the cahe.
b) If you start chrom Dev Tools on a particular tab, a "long" press (one or two seconds) on the reload icon will pop up some options. The third option will force cache clear before reload.