Page 1 of 2

Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Wed Jan 16, 2013 9:31 pm
by William Aylesworth

The element mobilecontainer1 is missing in the Data view to attach response $ to for multiple list items. It exists and I can select it in the Design view.
Image
Image


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Wed Jan 16, 2013 9:35 pm
by Kateryna Grynko

Hello,

You should add an arrow from array to mobilelist item component.


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Wed Jan 16, 2013 10:13 pm
by William Aylesworth

It will not let me connect the array $ to the mobile list item. It only connects to the mobilecontainer1 which used to exist earlier today but disappeared from the project in the past hour.


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Wed Jan 16, 2013 10:20 pm
by William Aylesworth

Correction. I did connect the $ to the mobilelist1_19 item and it let me do that. But when I test I do not see any output.
I tested the service and it does produce about 8 items of output.


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Wed Jan 16, 2013 10:57 pm
by maxkatz

What service to you use?


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Thu Jan 17, 2013 12:33 am
by William Aylesworth

I use the Tiggzi database backend service.
I created a list service for this page from the "stuff" database

$ has Array checked

Request URL: {database_url}/collections/stuff

Response:
[
{
"id":"50f704e0e4b0195a923addee",
"StuffYouAreDoing":"something",
"createdAt":"2013-01-16 11:52:00.701",
"updatedAt":"2013-01-16 11:53:41.834",
"Who":"Bill",
"CurrentStuff":false,
"TimeStarted":"2013-01-01 11:00:21.201",
"TimeEnded":"2013-01-01 11:00:31.201"
},
{
"id":"50f700e2e4b0195a923adde7",
"StuffYouAreDoing":"nothing",
"Who":"Bill",
"CurrentStuff":false,
"createdAt":"2013-01-16 11:34:58.682",
"updatedAt":"2013-01-16 13:48:31.342",
"TimeStarted":"2013-01-01 11:00:31.201"
},
{
"_id":"50f704f4e4b0195a923addef",
......


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Thu Jan 17, 2013 12:47 am
by maxkatz

When you run the app in the browser, are there any JavaScript errors on the console?


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Thu Jan 17, 2013 12:53 am
by William Aylesworth

no errors or any output on the console


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Thu Jan 17, 2013 12:57 am
by maxkatz

Can you share your app with support@tiggzi.com?


Cannot connect database to list items on screen. mobilecontainer1 is missing in Data view

Posted: Thu Jan 17, 2013 1:13 am
by William Aylesworth

yes