This topic contains 2 replies, has 0 voices, and was last updated by rmercene_ns 8 years, 3 months ago.

  • Author
    Posts
  • #4597

    ssilveri77

    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

    };

    });
    This is a cached copy. Click here to see the original post.

  • #4598

    kcng

    Hi. Can you provide replication steps?

  • #4599

    rmercene_ns

    Hi ssilveri77, yes can you provide us with steps and also send us the version of the IDE you are using?

    You can find the version by going to Help > About Eclipse and click the NetSuite icon.

    Thanks

You must be logged in to reply to this topic.