Bibek Shrestha
12/05/2022, 4:28 PMfield type
of custom fields, for example datetime
, so I can format the data accordingly?Mike Robbins
12/05/2022, 4:40 PMvar opp = record.load({ type: 'opportunity', id: 123456 });
var field = opp.getField({ fieldId: 'createddate' });
// field.type = 'datetime'
Bibek Shrestha
12/05/2022, 4:44 PMrecord.create
too.
Thank you!Bibek Shrestha
12/06/2022, 5:29 PMrecord.getField
doesn’t provide the List/Record
(id: selectedrecordtype
), is there a way to get that for any field?Mike Robbins
12/06/2022, 5:57 PMselect
as the type, there doesn't seem to be much more information you can get from it.Bibek Shrestha
12/06/2022, 5:59 PM