Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Query Service Does not work when I want to display list based on query.

Hi

I have a Query Service that I want to display in a list.
I have a local storage variable containing the value.
I have tested by using alert('{"StoreType": ' + value + '}'); The correct vlue is displayed in the message

I have use this syntax return '{"StoreType": "'+Value+'"}';
as well return '{"StoreType": '+Value+ "}'; because some post have one syntax format an other post other syntax format (very confusing dont know who is right)

Anyway the list is empty.

I followed the tutorial on the search app and I am pretty sure that I have not missed anything.

Thanks

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Query Service Does not work when I want to display list based on query.

Hello Deon!

Is it issue in app, that you posted here?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Query Service Does not work when I want to display list based on query.

Hi

No, It is a separate issue.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Query Service Does not work when I want to display list based on query.

Can you show the content of this when running:
code
alert('{"StoreType": ' + value + '}');
/code

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Query Service Does not work when I want to display list based on query.

It shows me the stored variable which I am requesting.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Query Service Does not work when I want to display list based on query.

Can you show a screen shot of the actual alert?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Query Service Does not work when I want to display list based on query.

See below. I have also shared the app
App:- Spar Shopping
Page:- Specials

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Query Service Does not work when I want to display list based on query.

That is the expected value from the Local Storage Variable

Return to “Issues”