A different problem I'm having is also trying to show an alert when the data collected from the RESTservice is less than 1. I've tried to use the code "data.length == 0" but that doesn't seem to work. I put this code in the Succes event from the data view.