Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Mapping a Mixed Type JSON Response to Multiple List Item Components

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

Scott Covert
Posts: 0
Joined: Fri Nov 15, 2013 5:45 pm

Mapping a Mixed Type JSON Response to Multiple List Item Components

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!

Return to “Issues”