Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

Map two data items to a list

Any progress with this

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

Map two data items to a list

Hello,

Sorry, still working on it. We'll get back to you with update as soon as posible.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Map two data items to a list

Hi Tony,

Sorry, I can't find 'ukgamesepo' application. Please make sure it's shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a
http://docs.appery.io/documentation/s...

Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

Map two data items to a list

Image

its there .. and as far as I can see shared

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Map two data items to a list

Seems to be a typo, thank you, will check.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Map two data items to a list

Tony,

This is because you set label text value using localStorage, generated from the same service. Appery.io saves service values to localStorage after saving to UI components.

That is, you would need to use this JS for 'seminarslist' mapping:precodeelement.attr("data-item-id", value._id);
element.attr("data-image-id", value.image);/code/pre

element.append("< p class=\"seminar_time\"""" + value.date +"" - "" + value.location +""< /p< p class=\""seminar_title\"""" + value.name+""< /p< p"" + value.panel+""< /p"");"

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Map two data items to a list

Sorry, the forum breaks tags, so you would need to delete spaces in tags manually.

Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

Map two data items to a list

ok that makes sense where do I insert the element.append ode

Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

Map two data items to a list

no worries got it. Just for anyone else now see that I can reference all the values in the current record by using value.ROW-NAME so the code has to be applied at the $ where the loop starts. All works fine now.

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

Map two data items to a list

Hello Anthony,

Thank you for the update. Let us know if you need any further help.

Return to “Issues”