alternatively, you can append anything you want to...
# suitescript
s
alternatively, you can append anything you want to the name property, for example:
formulatext_lens_material
mindblow 2
✔️ 1
e
learned something today
m
TIL. So many things this would have helped with. 🙂
t
great thanks a lot for the tip.
But i forgot to mention that the search is load from netsuite and not created in suitescript. So i can not change the "name".
s
In that case (when loading a search with multiple formulas of the same type defined in the UI), then I believe the only option is to use the numerical index as you are already doing. I usually make a good argument for defining searches like this in code, for that very reason. It will be easier to maintain and more reliable. If someone adds a new result column in the middle, it will change the numbering and break the script.
t
hello thanks. but i'm sure there is a way to do it with the label. i'll try to investigate more.