File Module with Client Script
Hi, I have a custom module I’m plugging into my client script. The custom module loads the file module. I keep getting this error saying the file module can’t be loaded. I tried loading the file module directly into the client script to rule out a problem with the custom module, but I got the same error. Is the file module incompatible with client scripts? That just seems odd.
I just found the answer to my question. Apparently the file module can only be used in server side scripts.
https://netsuite.custhelp.com/app/answers/detail/a_id/61227/kw/file%20module%20client%20script