Page 1 of 1

mapping within a collapsible

Posted: Sun Nov 17, 2013 7:11 pm
by Edwin Schravesande6028557

This here is something that used to work, but fails me since last week. My app is way more complex than the problem presented here, I just isolated my problem in a test app http://appery.io/app/view/56ec40aa-38....

So here's my design page
Image

What I'm trying to do is mapping a REST service in this construct, with list items in the content area of a collapsible block. The whole blok is duplicated for every item in the array (every row in my database).

So here's my database:

Image

I want to map the nameRound on the header of the collapsible set, and use it again as a variable within the list.

Here's my mapping:

Image

And here's the end-result:

Image

So where the collapsible header says 'OW9', the list contains exactly the same variable and should also say 'OW9'.
The strange thing is that the second list item with the stateRound is showing it's correct value.

But fairly, I don't see to much structure in this problem. Let's give the collapsible header two labels, and map both variables. Here's the mapping:

Image

Here's the result, nothing like you expect. This time the headers are just repeated from the first entry, and the rest of it maps OK.

Image

So me myself, I'd probably recommend to try another kind of construct. But the thing is: I did do this before, and it worked....

I shared my test app with a href="mailto:help@appery.io" rel="nofollow"help@appery.io/a.

Thanx,

Edwin Schravesande


mapping within a collapsible

Posted: Sun Nov 17, 2013 7:57 pm
by Illya Stepanov

Hi Edwin, can you share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? We will take a look.


mapping within a collapsible

Posted: Sun Nov 17, 2013 8:33 pm
by Illya Stepanov

I have managed to reproduce your issue. It's a bug, I've reported it, will be fixed asap.


mapping within a collapsible

Posted: Mon Nov 18, 2013 11:07 am
by Maryna Brodina

Hello! Should be fixed now. Could you try again? Please let us know result.


mapping within a collapsible

Posted: Mon Nov 18, 2013 5:37 pm
by Edwin Schravesande6028557

Thanx, wonderful quick support. My test app is doing what it should do. It will take a little more time to confirm that my real app is functioning too, but I guess it will.


mapping within a collapsible

Posted: Mon Nov 18, 2013 5:42 pm
by Edwin Schravesande6028557

It does work actually in my real app, thanx.


mapping within a collapsible

Posted: Mon Nov 18, 2013 5:44 pm
by Kateryna Grynko

Hi Edwin,

Thank you for the update! Glad it's working.