can search results load in listview?
Can you show me an example for 'calculate the parameter...'. Not sure how to create your solution.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Can you show me an example for 'calculate the parameter...'. Not sure how to create your solution.
Hello!
1) On first screen on click on search wines button add two events: Set local storage variable--Bind to component--Input and Navigate to page (navigation to page with list)
2) On page with list invoke service to call DB using saved in localStorage value for mapping to request parameter where. Then follow tutorial http://docs.appery.io/tutorials/build... (but on click on list item not delete element as shown in tutorial, instead save _id into localStorage and navigate to Results page)
3) on Results page invoke service for DB on page Load event using saved into localStorage _id as the value for mapping to request parameter.
Maryna, I already have the event for the Search Wines button as follows:
Click 1. Invoke service Datasource: wine_query. Should I remove this event first? and then create the page with the list?
Stuck on step 1 but I created the WineList page. how do I set up the list component?
Scott,
Select "Bind to component" and Target component = your Input component.
Invoke service Datasource: wine_query - you can leave it on the first page and create a page with list.
When I check Bind to Component after selecting set Local Storage variable, the target component options just list what is on that page. I'm not sure what to put for Variable name and there's nothing to add to the property name so I get an error when I click add event.
Nevermind, I got the bind to component. Now I need to map
Now I need help with Maryna's step 2 above:
2) On page with list invoke service to call DB using saved in localStorage value for mapping to request parameter where. Then follow tutorial http://docs.appery.io/tutorials/build... (but on click on list item not delete element as shown in tutorial, instead save _id into localStorage and navigate to Results page)
Do I use allwines3_list_service or query_service?