My record.getValue({ fieldId: 'name' }); returns NULL on afterSubmit with a custom record. Is there any workaround to get the custom record name in this method?
b
battk
04/13/2021, 10:24 AM
if the name is the record number, then its generated after the record is saved and you have to do a search to get the information
m
Menno Janssen
04/13/2021, 10:25 AM
Thanks for the hint. i just solved it with a record.load after but i thought 'afterSubmit' was 'afterSave' context but this makes sense now.