Doug Black
Posts: 0
Joined: Wed Aug 14, 2013 11:36 am

Run List Service Multiple Times

I am trying to run a list service multiple times on the same page for different columns (see attached).

Image

Though I've added multiple service instances for the List service on the page, editing info for one will edit info for all.

How do I run the List service multiple times on the same page?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Run List Service Multiple Times

Hi Doug,

Do you run the service as described here?
http://docs.appery.io/documentation/u...

Doug Black
Posts: 0
Joined: Wed Aug 14, 2013 11:36 am

Run List Service Multiple Times

Sorry, I forgot an important detail. Each of the lists use a "where" query to find a particular category. So one column will filter results marked "1", column two will be "2", etc.

That's where I'm getting stuck.

The service is run correctly. I just cant get the "where" statements to act different for each column.

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

Run List Service Multiple Times

Hi!

Please check this http://docs.appery.io/documentation/b...
Tell us if it helps..

Doug Black
Posts: 0
Joined: Wed Aug 14, 2013 11:36 am

Run List Service Multiple Times

Actually, I ended up creating a localStorage variable to change the room. Then I created the service with:

return '{"roomNo":'+value+'}';

I called the service under three different names, and just added 1 to the variable each time.

It worked....good coding?

Thanks for your help!

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

Run List Service Multiple Times

Glad you get it working ;)

Return to “Issues”