Page 2 of 2

Mapping a Mixed Type JSON Response to Multiple List Item Components

Posted: Tue Nov 19, 2013 1:56 pm
by Maryna Brodina

Hello! The issue is that you were incorrectly using hide function. You have mapping from array to Mobile List and using JS preelement.hide();/pre you hide some list elements. But this way you hide only text inside Mobile List Item. To hide entire element use preelement.closest("li").hide()/pre


Mapping a Mixed Type JSON Response to Multiple List Item Components

Posted: Mon Nov 25, 2013 12:51 pm
by Scott Covert

Hi Maryna,

Thanks for the help but actually I was mapping to the mobile list item components, not the mobile lists, so I believe element.hide() was not the issue.

Regardless, I was able to get this working without the mapping editor by using the data variable in the success callback function.

Thanks again to you and your support team for all the help!