shree sashti
11/15/2022, 12:12 PMrecord.attach
but im getting a error saying that Attaching of record type note to employee is not supported.
, Also when i try to create a note record using record.create
im getting a error saying You cannot create a standalone note record.
Why is this happening? how do i achieve my requirement? Pls assist!shree sashti
11/15/2022, 12:17 PM// var note_rec=record.create({
/`/ type:'note'`
// });
// note_rec.setValue('title','Test');
// note_rec.setValue('note',bodyPreview);
// note_rec.setValue('notetype',7);
// var noteId = note_rec.save();
record.attach({
record: {
type: 'note',
id: noteId
},
to: {
type: 'lead',
id: 1214
}
});
battk
11/16/2022, 7:42 AMshree sashti
11/16/2022, 8:59 AM