How can I get label(not custom label) of fields in script. I tried with search, but
Column.label gives me only custom label, I need to show that in my custom suitelet sublist.
tuli
04/21/2023, 5:46 AM
I can go with Field.label but for that I have load a record, is there any other way.
n
NElliott
04/21/2023, 7:11 AM
Maybe set a custom label label on each column?
t
tuli
04/21/2023, 12:47 PM
see, I have created a dynamic search, so I don’t know at any time which record I’ll be searching on, what columns do I need to fetch, it’s all there in a templated mapping record.
tuli
04/21/2023, 12:48 PM
One way could be to store and get the label from templated mapping record itself.
tuli
04/21/2023, 12:49 PM
But since that involves a lot of hardcoding and manual intervention, I think I’ll go with a record.load. and then getting label .