How can I get label(not custom label) of fields in...
# suitescript
t
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.
I can go with Field.label but for that I have load a record, is there any other way.
n
Maybe set a custom label label on each column?
t
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.
One way could be to store and get the label from templated mapping record itself.
But since that involves a lot of hardcoding and manual intervention, I think I’ll go with a record.load. and then getting label .