Hi All, Can anyone suggest me how to enable suit...
# suitescript
h
Hi All, Can anyone suggest me how to enable suitscript 2.0 API which will be displayed on top right side corner in file cabinet. When I click on suitscript 2.0 it was downloaded as a Zip file. If I extracted that, what are the next steps I have to do.
e
Enable it where?
The download is for you to have a local copy of the JSDoc for the SS2 modules. You can usually import that into an IDE to have code completion and documentation available in the IDE.
h
Thank you for your response. I will try this and get back.
In the file cabinet on the right side top corner we can see suitscript 2.0, suitscript 1.0 there when I click on suitscript 1.0, I can see some script. When I click on suitscript 2.0, Zip file is downloading automatically to local downloads in the system. Recently we approached Netsuite to upgrade suitscript from 1.0 to 2.0. They have upgraded but not activated. How I can say this means when I tried to deploy script, after creating script record we have to select type of script. There it is showing select 1.0 script type. So, please suggest me way to activate suitscript 2.0 in filecabinet. Thank you in advance.
b
There is no setup to enable 2.0 required beyond Enabling SuiteScript
the suitescript 2.0 zip is used while Working with IDEs Other Than SuiteCloud IDEs
selecting the type of script suggests that your script file fails the SuiteScript 2.x Entry Point Script Validation
h
Without selecting the type of script we can't create a script record right. So, what I have to do now, how can I use suitscript 2.0
b
did you read how the entry point validation works?
h
No, can you please guide me the navigation
b
go through the links in my previous replies
h
As shown here suitscript 2.0 was enabled to file cabinet in my account but while clicking on that zip file was downloading means it was not activated right. When I tried to save 2.0 script in file cabinet am getting one pop up like failed to validate script file. This file is used by a suitscript 1.0 script. You can not change the API version of the file.
I have read entry points for suitscript 2.0 and my script consists of all of them.
b
suitescript 2.0 is not enabled in your file cabinet, that not how it works, its unrelated to suitescript 2.0 functionality
again that link is related to Working with IDEs Other Than SuiteCloud IDEs
be specific about what guidelines your script file includes
its boring saying it implements all of the structures for entrypoints
there are 8 required structures, go thorugh and provide proof that you have done all 8
if you dont know what the 8 are, read Entry Point Script Validation Guidelines
minor spoiler, yo will want to go through all the related topics of SuiteScript 2.x Entry Point Script Validation, not just the guidelines topic
h
Ok Thank you for your valuable suggestions