I’ve been trying to use the getReport() function to save a report and setReport() to load that report but it seems that the “active” parameter of all measures is not taken into account.
All of my measures are in the values field even though some of them are “active : false”.
Is it expected ? Am I doing something wrong ?
I can do a js fiddle if needed.
Ok looks like when I remove the double quotes around the “false” in the saved json, it works well.
Thank you for reaching out to us.
We’re happy to hear you have managed to resolve the problem.
The issue is connected with data types.
false is a boolean type and shouldn’t be surrounded with quotes.
Feel free to contact us in case other questions occur.