Hi – Not sure if the removeRecordFromField API is working correctly, but I am trying to delete a row from a table within my form. I can see the data when I cycle through a form, but when I try to delete a row it does. not do anything.
//-- this is the field Id of the table
var profit_loss_breakdown_id = 'fld-a2312f9984e2472a91cd7fa8b1ec5cff';
for (rec of record.getFieldValue(profit_loss_breakdown_id)){
//-- I can fetch records here with no problem, but can't delete record
//-- in table
record.removeRecordFromField(rec, profit_loss_breakdown_id);
}
thank you in advance,
rocky
Hi Rocky,
I know I recently worked on that code. You’re right, it wasn’t working. But should be in the latest version. What I can’t remember is if that fix made it into the latest published version or if it’s just in the latest beta versions.