I am not able to access the KVM values from the Java script.
I Have attached the screen shot of the KVM and Java script. Please guide where i am going wrong.
Solved! Go to Solution.
Hey @Naveen Chalageri, Couple of things you can improve -
1 - Declare the variable errorMessageResponse with var errorMessageResponse, it will fix your print issue,
2. Good practice if you store JSON formate in KVM so you don't need to split it.
3. I have attached a working sample of KVM variable in JS please take a reference.
Hello Naveen,
What value is printed for errorMessageResponse variable ( javascript line 2)? Share the javascript console output.
ExclusiveCache element in KVM policy is deprecated. Either set it to false or remove the same.
It will be null. Tried removing the double quotes still the value is null
Hey @Naveen Chalageri, Couple of things you can improve -
1 - Declare the variable errorMessageResponse with var errorMessageResponse, it will fix your print issue,
2. Good practice if you store JSON formate in KVM so you don't need to split it.
3. I have attached a working sample of KVM variable in JS please take a reference.
To run the sample please create
Thanks Ravindra Yes not declaring var was the issue I just overlooked that one
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |