Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

selectmenu undefined when mapped from localstorage

I tried this on anglochickenpizza page, it didnt work.

Here are the screen shots and the result, it shows the correct number of items but undefined

Image

Image

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

selectmenu undefined when mapped from localstorage

Michael,

For each object in the array in each sizeandprice entity in your collection please change code=/code to code:/code

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

selectmenu undefined when mapped from localstorage

Hi Evegene,
I Have replaced = with : in sizeandprice array
getting error regarding mapping js codes

return JSON.parse(value).price;

return JSON.parse(value).size;

Here are screenshots of results of service for chickenpizza in localstorage, mapping, mapping js and error in console

thanks Evegene

Image

Image

Image

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

selectmenu undefined when mapped from localstorage

Michael,

Instead of code{size: some text, price: 10}/code please try code { 'size': 'some text', 'price': 10}/code

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

selectmenu undefined when mapped from localstorage

No Evegene,
made the changes but still the same error, here are the screenshots

Image

Image

Image

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

selectmenu undefined when mapped from localstorage

Guys,
this topic is nearly 3 weeks old,
do you think it can be solved?

If after 3 week you cant solve it what chance have we?
Lots of people out here pissed off with appery support

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

selectmenu undefined when mapped from localstorage

Hello Michael!

Let me emphasize that custom app logic and custom code are not covered with support, but we still we doing our best to help. Standard support doesn’t come with response time guarantee http://devcenter.appery.io/support-po.... You may consider purchasing Advisory Pack http://appery.io/mobile/?services#Adv... too get in-depth support on the questions you have in a timely manner.

Otherwise we would have to wait for a developer update.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

selectmenu undefined when mapped from localstorage

Michael,

The best and final solution is to make your sizeandprice column as a separate collection and use a pointer to include it in this collection

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

selectmenu undefined when mapped from localstorage

Let me emphasize the so called custom code was supplied to me from yourself and Katya and all I am tring to do is reinstate my apps functionallity in the new builder.

I did not expect to be abandoned by support after a builder upgrade.

As regards response time, I think 21 days is a demonstration of my patience,

as regards the advisory pack I have no problem purchasing it for new build or new logic, but upgrading an already published app to the upgraded builder is within the scope of support.

Appery keep moving the goal posts

Return to “Issues”