Page 1 of 1

Mapping image from xml

Posted: Thu Jun 05, 2014 6:27 pm
by bb78520

How do I map an images with 2 properties from an XML feed?

Example:

image = iconImage
url = http://someurl.com/images/
icon = icon.png

Using the above I wish “iconImage” to display http://someurl.com/images/icon.png


Mapping image from xml

Posted: Thu Jun 05, 2014 6:50 pm
by Alena Prykhodko

Hello,

Please bind Service response root to the Image component, and add the following JS code:
pre

return value.url+value.icon;
/pre