Use case:
Define an array of rows on a model given 2 conditions then update rows with value ‘myValue’
For given conditions:
ApptID__c = XXXX
DateA > DateB
$.each(myModel.data, function (i, row){
myModel.updateRow(row,myField, myValue);
});
How do I limit the rows based on my conditions?
Page 1 / 1
$.each(myModel.data, function (i, row){ <br>if(row.ApptId__c === XXXX && row.DateA > row.DateB){<br>myModel.updateRow(row,myField, myValue);<br>}<br>});
How much do they pay you Moshe?
That’s a good question… : )
Thanks Moshe! We do very much appreciate our champions. Hopefully undying gratitude is sufficient compensation.
We might just have to put that on a Tee Shirt!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.