Anyone ever work with the ```fileObj.lines.iterato...
# suitescript
d
Anyone ever work with the
Copy code
fileObj.lines.iterator()
and get an UNEXPECTED ERROR?
d
Anything more than UNEXPECTED ERROR?
Is this client side or server side script?
d
server
next(N/file) -> UNEXPECTED ERROR
d
@darrenhillconsulting at first glance without seeing more code, I am going ot guess that .iterator() isn’t supported server side
d
It certainly is .. that's cool, I'll keep digging @David Durst
s
yeah you cant use the
N/file
module client side, it's definitely supported
I dont think i've ever gotten UNEXPECTED ERROR when using the iterator but I sure do love that one.