Hi, Anyone know why the NS-VS Code upload extensio...
# sdf
a
Hi, Anyone know why the NS-VS Code upload extension would suddenly stop working? Was working until yesterday, is still working in SB, get the standard "You might need to update..." error message in prod.
n
Working well today for me. What was the full error message out of VS code?
a
This is what I got from the console...not much there
n
ah okay sorry. I am not using that extension; assumed you were talking about the IDE's "suitecloud:upload file" option
a
No problem, thank you anyway
d
have you followed the extensinon's readme about how to install/update the RESTlet in your NS account?
• Future versions of this VS Code Extension may require that you upgrade the RESTlet file in NetSuite. Take note if the extension receives an update, and read the Changelog.
a
Yes. It seems that it's an error only on my end as it's working for our other devs
Yes, the restlet is up to date...
d
I would recommend looking at the script logs of the RESTlet in NS and see if you can glean any more info there. Otherwise check the repo for similar issues and log a new one if you can't find a solution there
m
Or use the official NetSuite extension
d
haha, yes, use the actual extension that doesn't require an account-side RESTlet to be maintained. There's almost feature parity and a lot more besides
a
Interesting, never looked at this as a viable option. Are there any downsides to using the official extension vs. the other extension?
d
• Push/pull file • Delete file • Compare file • Push/pull folder Doable, import/upload files and filter for entire folder > select all • Snippets for module initialization Not done via snippets, instead via command to create new SuiteScript file • Commands for adding new NetSuite/custom dependencies Can include standard modules during create SuiteScript command, but after have to add manually. Can't automatically include custom modules. • Rebase the Root Folder I'd argue the only downside is not being able to delete via SDF, but you live with it. Those other features are either covered in another way or, honestly, not needed. You also get so much more with using SDF, I would highly recommend going through Eric Grubaugh's course on SDF (free): Customization Management in NetSuite with SDF - SuiteHub
a
Nice, thank you so much for the detailed info! Will look into this.