Is there any way that I can assign values from a custom field rendering snippet so that it is pushed into the actual Field Value? I have a custom snippet that calculates a Running Balance, but the actual value of the “Balance” field in SalesForce is still blank.
Can anyone suggest a solution or workaround? Would be greatly appreciated.
Page 1 / 1
var field = arguments[0], value = arguments[1],<br> $ = skuid.$;<br>var row = field.row;<br>var model = field.model;<br>//do your calculation here...<br>//assuming value is now the new value... <br>model.updateRow(row,'Your_Field__c',value,{<br>initiatorId: field._GUID<br>});<br>skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field,value);
Thank you for the quick reply Moshe. The code above worked great for me.
I was partly there with “model.updateRow”, but seemed to be missing the “initiatorId: field._GUID”
Big thank you!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.