So hard...
The query works with single or double quotes as you can see from the response i the above image. Now how do I remove that from the test window... add the service to my BusinessHours screen and use a local storage variable in the place of the actual StationID number in the test query above.
I've tried a bunch of ways but nothing has worked.
In the mapping screen, there is a "where" and next to it the blank Value textbox and then the Add Javascript button. I've tried the above query in the value textbox and yes it works. I assume I remove it from the Value column and move it over to the Javascript button popup but what do I put in there?
I've tried
var x = localStorage.getItem("studioID");
rethrn "where={\"StudioID\""""\"" + x + \"") "";
But that doesn't work."