Michael Scott
01/12/2022, 7:22 PMconst lineCount = employeeRecord.getLineCount("addressbook");
for(let i=0; i < lineCount; i++){
employeeRecord.removeSublistSubrecord({
sublistId: "addressbook",
fieldId: "addressbookaddress",
line: i,
});
}
}