Page 1 of 1

Why do we need to map a node to a grid?

Posted: Tue Aug 13, 2013 12:01 pm
by steveharman

I've been working through the LifeHacker RSS tutorial at http://docs.appery.io/tutorials/build...

To help me understand Services within Appery a little better could someone explain why, in the "Mapping the service to the page" section of the tutorial, it's necessary to map the "item" node itself to the grid component?

Can we not just map the individual child elements from within the node to the elements of the link & label components? I get why we'd need to map the child elements of the "item" node to the various label & link elements on the page but don't understand what mapping the "item" node itself to the grid actually achieves?

Please feel free to say "That's just how it's done, Steve!" :-)

Thanks,

Steve


Why do we need to map a node to a grid?

Posted: Tue Aug 13, 2013 1:13 pm
by Maryna Brodina

Hi Steve! Let me know if it helps http://docs.appery.io/documentation/u...


Why do we need to map a node to a grid?

Posted: Tue Aug 13, 2013 2:57 pm
by steveharman

Hi Marina,

That helped! ;-) Perfect explanation, thanks.

Albeit there didn't seem to be a mention in the LifeHacker RSS tutorial of needing to tick the Array checkbox?

Steve


Why do we need to map a node to a grid?

Posted: Tue Aug 13, 2013 6:21 pm
by Kateryna Grynko

Hi Steve,

The only image in the tutorial, which describes the tab of query parameters creation just isn't scrolled to the place where the Item field containing an array is displayed. In this screenshot, RSS describes the object name as the root element of the structure.