I have a collection (doctortypes). I populate a list with it. My hidden label is a field TypeID. On click I grab this TypeID and store it in local storage.
On my doctors detail page I invoke query_service to return all doctors for selected type.
On the Before Send event I mapped local storage to query with "where" and my JS is
var test = {"TypeID": "'+ _doctortypid + '"};
return test;
It return blank page. I know that the correct id is returned on click.
My Success event is correctly mapped and works 100% when I delete the Before Send event mapping, but then obviously return the whole dataset.
This is my first appery app. I have really looked at all tutorials I could find.
Thx
Armand