I have 2 models: Program and Timeline, both have a field named Mail_Date__c. When the Program model Mail_Date__c is updated, need Timeline model Mail_Date__c to update to that same date. Action Framework only allows specific dates, so am using Snippet, but am unable to find the correct syntax. Here is what I have so far that is not working:
var params = arguments[0], $ = skuid.$;
var model = skuid.$M(‘Timeline’);
var row = model.getFirstRow();
model.updateRow(row,{
Mail_Date__c: Program__r.Mail_Date__c
});
I assume the last line needs help. Thanks!
Question
Update date field from another model
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.