im using the above snippet in a suitelet which is ...
# suitescript
c
im using the above snippet in a suitelet which is serverside and it works just fine
👍 1