Hello everyone, I wanted to try the <NetSuite Fast...
# suitescript
u
Hello everyone, I wanted to try the NetSuite FastTrack Toolkit (NFT) - v6.4.0 . I read the docs provided in the link but can't find a way to deploy a test script. If you know how to utilize this please help. Thanks
s
@stalbert is typically the one who could help you here, he doesn't appear to be online currently
s
The readme is supposed to explain this; do let me know where it's unclear. The gist of it is 1. use file cabinet 'advanced add' to deploy node_modules/netsuite-fasttrack-toolkit-ss2/dist/NFT-SS2-6.4.0.zip to the same folder you will deploy the script file 2. then upload your script file (transpiled JS file assuming you're using TypeScript) 3. create your script record.
step 1 only happens once, any scripts that use NFT 6.4.0 just refer to it as needed with relative paths.
u
Thanks, I think I want to know the compilation process of TS file to JS file. Does TS Compiler convert the file to a Suitescript file automaticaly or do I need to use some other package?
I uploaded the NFT folder via zip to file cabnit
s
TS just converts TS to JS. SuiteScript is just javascript with some libraries written by NetSuite (e.g. all the
N/*
modules.
here, I can attach a working initial project structure if you're interested.
u
Thanks! That will be very helpful
s
u
Thank you for putting in such effort.
s
hope it helps!
u
It will. Thanks again