Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
IDE with 2.0 update does not create 1.0 templates properly
I have installed the updates for 2.0 and can create 2.0 scripts. When I go to a previous 1.0 project and do new-> suitescript file and select 1.0, it creates a bad template based on 2.0
Anyone else had this issue? I have to copy and paste from other 1.0 files.
/**
* @NApiVersion 2.x
* @NScriptType Suitelet
* @NModuleScope SameAccount
*/
define([${modules}],
${modulesJsDoc}
function(${moduleParameters}) {
/**
* Definition of the Suitelet script trigger point.
*
* @param {Object} context
* @param {ServerRequest} context.request - Encapsulation of the incoming request
* @param {ServerResponse} context.response - Encapsulation of the Suitelet response
* @Since 2015.2
*/
function onRequest(context) {
}
return {
onRequest: onRequest
};
});