Felicia
06/17/2021, 7:19 PMrec = record.create( {
type: 'customrecord_test',
isDynamic: true,
defaultValues: {
customform: 4
}
} );
setting the field
rec.setValue( 'customform', 4 );
After I set the value, I do a getValue, and I am able to printout the form I am expecting! I also notice that the form validation (i.e. mandatory fields unique to my form with ID #4) is taken into account, but when I navigate to my newly created record, my new form is not persisting!! Has anyone seen behaviour like this before?Sandii
06/17/2021, 7:20 PMdefaultValues
is not a catch all, it's a pretty useless parameter and I just never use it since it does not work for everything. On your custom record, do you have store form with record
checked?Felicia
06/17/2021, 7:23 PMFelicia
06/17/2021, 7:23 PMFelicia
06/17/2021, 7:24 PM