Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there any solid script technique for determining if a script is executing in Sense or View? The best I've come up with is testing the value of QlikviewVersion() but this strikes me as a little funky in the long term.
-Rob
Hello,Rob!
Could you be so kind and share experience, where the solution of this problem is required?
Best regards,
Alexa
Hi Alexa,
It's not a situation most people encounter. I have some common script that I use in both QlikView and Qlik Sense. There are some small differences in script between the products. I want to be able to automatically detect which product I'm running in and take a different script path.
-Rob
Thans for your answer,
Best regards,
Alexa
You can specify a variable defining the environment prior to the code that includes the script.
Thanks for the suggestion Andre. I'm looking for an automatic mechanism. What I've settled on for the time being is:
LET .v.QlikProduct = if(subfield(QlikViewVersion(),'.',1)>6, 'VIEW', 'SENSE');
I'm relying on Sense version not being > 6 for quite some time.
-Rob