Qlik Sense script editor has dynamic syntax color highlighting which highlights functions and expressions in different colors to make writing scripts easier. With very complex scripts, this can start using a lot of memory for the browser. This is especially noticeable when building highly advanced expressions, like nested IF statements with 50+ levels of recursion.
Syntax coloring is then automatically switched off in later versions. Environment:
Qlik Sense versions prior to September 2018
When working with a highly complex script, syntax highlighting may need to be turned off to save performance.
This can be done by adding the following string to the end of the URL: /debug/dle_safe_mode
Adding this to the end of the script editor URL should disable the highlighting completely.
The new feature has been implemented in Qlik Sense September 2018, which allows to detect a complex script automatically, disabling syntax highlighting.
In the case of the automatic detection doesn't work, as it's described above, the debug flag: /debug/dle_safe_mode
needs to be added manually.
See the Qlik Sense September 2018 Release Notes
for ID QLIK-87604.
If syntax highlighting is expected, but not available, assistance with troubleshooting can be found on our Qlik Community
. Join over 70.000 active members for access to tips and tricks, best practices, and troubleshooting assistance.