Does anyone know of a method to get a custom field...
# suitescript
e
Does anyone know of a method to get a custom field's Label via the id/scriptid?
s
e
That's one way, aye, thanks. That's not quite what I'm looking for, but it might be a workaround
s
What do you mean by workaround? It's pretty typical to get the field to get things about it besides its value
e
My UI loads information about searches. Those searches may include custom fields and the column(s) don't include the label of the field, only the scriptid. I was hoping to search something to get the field label, but I can work around it using a suitelet
t
how do you call your searches ? are you using search.load ?
e
Yes, but I wasn't explaining it correctly. One can't get the field label from a filter. I've decided to look in the
columns
array for the label and if it's there, use that, otherwise oh well, use the scriptid/fieldid.