Join Slack
Powered by
For the `file.load()` I could only get it to work ...
# suitescript
t
Tyler Bobik
05/09/2019, 4:06 PM
For the
file.load()
I could only get it to work with an absolute file path, but that wouldn't work after an install since I have no clue what the bundle folder would be
b
battk
05/09/2019, 6:50 PM
You can use require.toUrl to convert a relative path to an absolute path
battk
05/09/2019, 6:51 PM
Though to be honest, i think the bundle folder is constant
Open in Slack
Previous
Next