I have a simple database service mapped to a list with a where parameter.
When I test the service it works but for some reason when I test the app the service doesn't return any results.
I also tried tried it with "true" in the 'Rated' query
I removed the mapping and I changed the JS to:
prevar club = localStorage.getItem('ClubID');
return '{"taggedItem_id":"'+club+'"}';/pre
and it worked.
What was wrong with the first bit of code?
prereturn '{"taggedItem_id":" ' + value + ' "}'/pre
Hello Joe,
You may try this JS code instead of yours
prereturn decodeURI('{ "taggedItem_id" : "' + value + '"}');/pre