How to insert a new row into a sub-form through deluge?
I have a form where I'm trying to insert a new row into a subform through deluge. I know in general how it's supposed to work but there's a problem that I'm running into.
- newItem = Map();
- newOrder.put("Product_Name", "Test Name");
So I created a map with one of the subform column names. The issue is that from here, I'm supposed to use "updateRecord" to insert it into a subform within my CRM module. The problem is that one of the columns in my sub-form is a required field. Therefore, I can't just create a new record in my module and then update the record to add a new row into my sub-form, I have to insert the row into my sub-form as I create the new record. Does anyone know how to do that?