Hasantha,
It sounds like your snippet isn’t getting passed the field as arguments[0]. How are you launching you snippet? This code will only work if you’re running it as a custom field renderer.
Hasantha,
It sounds like your snippet isn’t getting passed the field as arguments[0]. How are you launching you snippet? This code will only work if you’re running it as a custom field renderer.