suitedev
11/21/2019, 8:22 PMscriptContext.newRecord.getFields();
To get all record fields, I am using record.create().getfields();
which supplies all of the fields in the resulting array
Does anyone have a better solution/option?dcrsmith
11/21/2019, 8:23 PMsuitedev
11/21/2019, 8:23 PMcreece
11/21/2019, 8:28 PMsuitedev
11/21/2019, 8:53 PMdcrsmith
11/21/2019, 8:55 PMsuitedev
11/21/2019, 8:55 PMform.getField().type
is lowercase, and the ENUM for serverWidget.FieldType
is upper case.. so a direct comparison isn't possible without re-casing the strings..