hi !
i did some research and looked at this link :
Mapping from Array column in DB
But i didnt get the answer i was looking for
I want my images's asset URL to look like be randomized from
fotos= [
"//kwarcens.sirv.com/ElevationBurger%2001.png" ,
//kwarcens.sirv.com/ChillAkil%2001.jpg" ,
"//kwarcens.sirv.com/500Noches%2001.jpg"
]
period.
But it doesnt work , keep getting the element[0]
this is the code i put in the js windows in the service mapping screen
var x= Math.floor((Math.random() * 2) + 1);
return value.(x)
this is my service response
looks rock solid to me..
can you help me find out what im missing?
simply put, I want to add several picture for an entry and randomize on each service call.