Robert Larsen
Posts: 0
Joined: Fri Aug 02, 2013 6:56 am

Mapping Response To Create List

I seem to be having trouble mapping a rest service response to create a list. I have mapped the response to a List Component and when I invoke the service, it shows the text on the label, but instead of populating the list with multiple items it is only posting the first response and not creating a list, their are multiple id's that are being returned in the json response but only listing the first one. Image Imageinline.png?1453104280[/img] [/url] Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Mapping Response To Create List

Hello Robert,

I can see array "items" in your mapping. Does it invole to the result?

Robert Larsen
Posts: 0
Joined: Fri Aug 02, 2013 6:56 am

Mapping Response To Create List

I'm not quite sure what you mean.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Mapping Response To Create List

I can't see the full structure of your data, but your data structure has field "items": http://prntscr.com/9rlrsx so I gues it can contain array of item which you need. If so - you have to add mapping from this field to the listitem. If not - please send us full structure of the response and sample JSON of the service response with more than one video

Return to “Issues”