How should I change it. Code? Mapping?
How should I change it. Code? Mapping?
To change it you need to understand how it works.
For this purpose you need to pass following tutorial from scratch.
http://devcenter.appery.io/tutorials/...
Then you need to debug your app in way i have described above and find where you have wrong implementation.
Regards.
From going through that tutorial, I think what I need to do is create an invisible label to display the _id if the book that is selected and from there map it to the query service.
I've been messing around for a while trying to find out how I should get the id of what ever is selected to display. Any thoughts?
I created a new book list service but I can't link a component to another component.
So I got it to display the _id for the book that is automatically there, but it won't change when I select a different book.
Sorry to bother again, just got it to change when selected but some say undefined. In safari, when I test it, the popup up says bookid="what ever id is displayed" (whether it is right or undefined)
In chrome when I test it, it all says null.
Hi Eascards,
Yes you need to add hidden label to the listItem component. And populate it with "_id".
Did you passed tutorial from scratch as asked above? If not please pass it. There is a worked solution. And from there you can figure out hot get correct "_id" for each item in request parameter of the service.
Regards.
I did go through the tutorial from scratch. That's how I thought I needed the hidden label. I have the correct id in one browser but not the other. And even when it is correct, it isn't bringing up the results of the search.
Eascards,
ok, please show us your query request where we can see correct "_id" in where clause and other one with server response.
Regards.
Hi -
Sorry this is not very clear, on your screenshot you have a query statement with: "where: {"_id": null } -- is that what it's supposed to be?