Frank
Posts: 0
Joined: Wed Feb 01, 2012 4:10 pm

Map Image Source Attribute to REST response

Hi there,

mapping an response array of a service to a listitem is perfectly supported.

I want to show a list with an image per listitem. The images are located on the same server as the webapp. We're not able to load all images as assets to the app during development because they change during runtime.

In our desktop app, we set the src attribute to a field returned by the service.

How can I do this - maybe using javascript...

Thx for your support

Kind Regards
Frank

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Map Image Source Attribute to REST response

Yes, in this case JavaScript can be used. You can run JavaScript for each mapping and set the src attribute. Inside the mapping function you get access to the component itself (element): http://help.gotiggr.com/documentation...

Return to “Issues”