S
Swathi Yellavaram
Guest
Hi Riche, I have tried mapping two response values to same field and observed that order depends on the response listed. Like in above screen which i provided, CustNum is called first and Name is always called second time. The order of mapping CustNum first ("CustNum"(response) "Name"(response)) or second ("Name"(response) "CustNum"(response) )is not considered. Following is the other better way we can achieve this by mapping only one element (CustNum in my sample): var custNumValue = value; // "value" is passed as first parameter and equals to the current CustNumvalue var index = parseInt(element.attr("_idx").substr(1)); // it is current index for processing row of dsCustomer. var custName = Read.data.dsCustomer.eCustomer[index].Name; // instead of Read, you should write the name of data source which is connected to your service. You can see it on data source tab for your screen. return custNumValue + " - " + custName; Thanks, Swathi.
Continue reading...
Continue reading...