Hi I’m creating a new data row in javascript.
contactRatingsModel.createRow({
additionalConditions:[
{Item__c: row.Id},
{Contact__c: contactModel.data[0].Id}
]
});
The contact__c and contact__r.Name are set properly I can see them in the developer console by displaying model.data. I think that’s because the contactModel has the name information.
But Item__c is empty. I do have a model for Item__c. Can you please advise how to set this properly? row.Id has the right value in console.log.
Question
How to set lookup properly in javascript
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.