Page 1 of 2
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 4:46 am
by Deon
Hi
I have a Search Contol and a List Control on a page. I need to display the results of the search in the list.
I have created a query service with the list item mapped to the Where field. My Java Script for the Where field is....
return '{"Searchme":"'+value+'"}';
Searchme being the name of the Search Control.
I am not returning any search results.
Am I following the correct approach when doing a search?
Thank you.
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 4:49 am
by maxkatz
Is the parameter name 'where' or 'Where'?
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 5:16 am
by Deon
I dont follow?
I invoke a query service with the following JS Return '{"Searchme":"'+value+'"}'; mapped to the the Where Parameter.
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 5:18 am
by Deon
Please see image
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 5:19 am
by maxkatz
What is the actual parameter name, where or Where?
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 5:50 am
by Deon
I do not know what you mean? Please explain.
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 6:01 am
by Kateryna Grynko
Hi Deon,
[quote:]Where field[/quote]Max asks whether you use uppercase ("Where") or lowercase ("where")...
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 6:27 am
by Deon
Hi
Please have a look at Max's post here.
https://getsatisfaction.com/apperyio/...
That is what I want to achieve but with a search control and not an input control.
It is not working for me when I use that example
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 6:41 am
by Kateryna Grynko
Deon,
I'll test this and update.
Search control Searching database not returning results
Posted: Mon Jul 22, 2013 6:49 am
by Deon