Page 1 of 1

How to map Json Response to list component?

Posted: Tue Aug 23, 2011 9:50 pm
by CharlieHoover

How do you map datasource responses to the list component? I can do it with the grid but have not been able to do it with the list... Any help would be greatly appreciated! Thanks!


How to map Json Response to list component?

Posted: Tue Aug 23, 2011 10:05 pm
by maxkatz

Map the array to MobileListItem property of the List. If you want to display the result in list label, delete the default label and insert a Label component. Then you will be able to map it. Let me know if this helps...


How to map Json Response to list component?

Posted: Tue Aug 23, 2011 10:10 pm
by CharlieHoover

It is not working the list item just disappears when I test it...


How to map Json Response to list component?

Posted: Tue Aug 23, 2011 10:12 pm
by maxkatz

Can you share the project with a href="mailto:support@gotiggr.com" rel="nofollow"support@gotiggr.com/a? I'll check the mappings. Or, if the service you are using is public, post it here and I will try it in my project.


How to map Json Response to list component?

Posted: Wed Aug 24, 2011 4:43 pm
by maxkatz

Fixed it. In request parameter mapping you set %23healthykids as the default search term. The # was already escaped, but jQuery will also escape it (it always does) and the result ended up being invalid. So, changing to #healthykids will work.