Page 6 of 7

Displaying Data

Posted: Wed Jul 23, 2014 10:13 pm
by Alena Prykhodko

Definitely.


Displaying Data

Posted: Thu Jul 24, 2014 8:26 am
by nadiah jabbar

hello.
I've created a new collection with all the datas in it.
However, the amount will be displayed in the new row in the database.

Image

please help us :(


Displaying Data

Posted: Thu Jul 24, 2014 9:58 pm
by Yurii Orishchuk

Hi Nadiah,

It's currently not clear what do you want to implement.

Please give us more details.

Regards.


Displaying Data

Posted: Tue Jul 29, 2014 3:52 am
by nadiah jabbar

hi Yurii,
You mentioned that i need to use the same collection.
Previously, i used two different collections, CorrectAmount and shoppingList.
Now i've used the same collection. However, because these data(s) are from two different pages.

Student will enter the item and the estimated amount here.
Image

then they will enter the actual amount in this page.
Image

however, when i view the data in the database, the data will be on separate rows.

How do i ensure that the data will all be in the same row? thanks!
Image


Displaying Data

Posted: Tue Jul 29, 2014 10:09 pm
by Yurii Orishchuk

Hi Nadiah,

Here is a brief plan for this goals:

1
pre
Student will enter the item and the estimated amount here.
/pre
Here you need use "create" service for this collection. This service will return your "id". You need store this "id" to some LSV for futher use.

2
pre
https://d2r1vs3d9006ap.cloudfront.net/s3_images/1081706/ScreenShot2014-07-29at11.56.16am_inline.png?1406605966
/pre
Here is you need to use "update" service. Note you need pass in request parameter "_id" item id from 1st step.

Regards.


Displaying Data

Posted: Mon Aug 04, 2014 7:23 am
by Lim Samantha

hi,
how do i display two different collections in one page?
right now i am only able to display one collection


Displaying Data

Posted: Mon Aug 04, 2014 7:23 am
by Lim Samantha

isit possible to display two different collections in the same page using different datasource?


Displaying Data

Posted: Mon Aug 04, 2014 7:39 am
by Lim Samantha

i tried following this tutorial but still does not work.

https://getsatisfaction.com/apperyio/...


Displaying Data

Posted: Mon Aug 04, 2014 10:25 pm
by Yurii Orishchuk

Hi Lim,

Currently it's not clear what you want to implement.

But in general you have two ways:

1 Create two datasources(two services) and make two mappings for each of these datasources. In this case you will have two independent lists.

2 Create Generic service and implement there invoking of two services, combine results in one object and return this object as service result. Then you can use this service to populate your page in accordance to your needs.

See more about generic service here: http://devcenter.appery.io/documentat...

Regards.


Displaying Data

Posted: Tue Aug 05, 2014 5:08 am
by nadiah jabbar

Hi Yuri,

We are facing another problem right now.
Image

We have entered two different amount in the page Step 4.
however, in the database page it will only display the first amount and an empty blank of the second amount.

How do we fix this problem?