Page 1 of 1

importing a collection

Posted: Sun Oct 20, 2013 11:50 am
by Michael4771079

Hi,
I have a collapsible block that I want to populate with a rest service. There are 4 items, item name, description, size and price.
Name and description are no problem.

The problem is the selectmenu.
In the ui screenshot below there are 7 different sizes and prices to be mapped to selectmenu.

this is the collapsible and selectmenu options I entered to show the required result

Image

Image


importing a collection

Posted: Sun Oct 20, 2013 12:09 pm
by Alena Prykhodko

Hi!

Please clarify what is the question?


importing a collection

Posted: Sun Oct 20, 2013 12:30 pm
by Michael4771079

Sorry Alena,
here is my collection in excel and the other screenshot is the collection imported to appery, the "size" column is a string, I cannot change it to array

this is the array
["{size=Eight Inch, price=2.50}","{size=Ten Inch, price=3.50}","{size=Ten Inch Stuffed Crust, price=5.00}","{size=Twelve Inch, price=4.50}","{size=Twelve Inch Stuffed Crust, price=6.50}","{size=Fourteen Inch, price=6.00}","{size=Fourteen Inch, price=8.00}"]


importing a collection

Posted: Sun Oct 20, 2013 12:41 pm
by Michael4771079

importing a collection

Posted: Sun Oct 20, 2013 1:17 pm
by Alena Prykhodko

You will need to specify column's type as shown here http://docs.appery.io/documentation/b...