@Tyler Bobik There is a way to load by relative path if you know that the file is relative to the currently executing script file. You can get the script id / deployment id from the runtime module, search the script record to get the id of the script's file cabinet record, and then load the script file using that id to get its path.
https://github.com/jeffreymkabot/netsuite-task-status/blob/master/src/task-status/task_status_sl.ts#L202-L217
b
battk
05/09/2019, 5:22 PM
I believe you can get the current scripts path using the 'module' module