NetSuite SuiteScript 2.0 Intro - WebStorm

แชร์
ฝัง

ความคิดเห็น • 15

  • @jpjorissen6740
    @jpjorissen6740 5 ปีที่แล้ว +1

    Thank you for sharing this! You've made my life so much easier.

  • @pjl3dm
    @pjl3dm 5 ปีที่แล้ว +3

    To everyone having the gulp issue using Windows
    Instead of just putting "gulp" in the Program paramater, put "gulp.cmd" instead.
    Also, in the Arguments part, it should be "build-and-upload --file" only, do not put the $FilePathRelativeToProjectRoot$, it will cauase windows to read on a non-existent /build/yourfoldername folder
    This was a nasty error I had to fix and had no idea it just the difference of Windows and the Mac used in the video.

    • @hitc-netsuite
      @hitc-netsuite  5 ปีที่แล้ว +1

      Thank you Peter!

    • @pjl3dm
      @pjl3dm 5 ปีที่แล้ว

      @@hitc-netsuite you're welcome, your vids are awesome! I'd like to see more, keep it up! :)

  • @ВладиславТимофеев-в5т
    @ВладиславТимофеев-в5т 3 ปีที่แล้ว

    Hi @Robin Mitchell
    could you help me please
    i get this err from gulp. And i confused about hitc-upload - is it json?
    AssertionError [ERR_ASSERTION] [ERR_ASSERTION]: Task function must be specified

    • @hitc-netsuite
      @hitc-netsuite  3 ปีที่แล้ว

      Yes, it should be JSON, something like this:
      {
      "accounts": [{
      "name": "Sandbox",
      "companyId": "xxxxx_SB1",
      "cabinetPath": "/SuiteScripts/"
      }, {
      "name": "Prod",
      "companyId": "xxxxx",
      "cabinetPath": "/SuiteScripts/"
      }]
      }
      Hopefully this solves the issue, it sounds like a gulp error, but I haven't run into it myself

  • @Jiautd
    @Jiautd 3 ปีที่แล้ว

    Thanks for the video. Whats the difference between this method and using the NetSuite SuiteCloud Plugin in WebStorm?

    • @hitc-netsuite
      @hitc-netsuite  3 ปีที่แล้ว

      Good question! I think the biggest difference is the speed at which you can develop/test a script. With our uploader, its very easy (press a button, wait a few seconds) to upload your script to NetSuite and test it. With NetSuite's plugin, you can't upload a single script - you have to deploy the entire project. That process usually takes about 30 seconds. Secondly, if you work in many different NetSuite accounts like I do, then the account/credential management is much better in our uploading system. NetSuite's plugin stores them in one long list, and I find it a bit too easy to select the wrong account there. Don't get me wrong - I like NetSuite's plugin and I enjoy using it for SuiteApp creation, but not individual script development! Finally, the NetSuite SuiteCloud Plugin is relatively new, whereas our script uploader has been around for nearly 10 years now.

  • @barendmorkel6168
    @barendmorkel6168 6 ปีที่แล้ว

    Hi Robin, I've followed everything in this demo up until 9:48, but when I try to upload it, I get the error:
    Error running 'build-and-upload-just-this-file': Cannot run program "gulp" (in directory "C:\DevJS\WebStorm\ssv2"): CreateProcess error=2, The system cannot find the file specified
    (My Directory ssv2 = your dir ssv2video...., the top level directory for this project)
    Any ideas?

    • @hitc-netsuite
      @hitc-netsuite  6 ปีที่แล้ว +1

      Hey Barend! Make sure you have gulp installed. To install it, run the command: npm install -g gulp

  • @jorgeenaustralia
    @jorgeenaustralia 6 ปีที่แล้ว

    Hi Robin,
    Also ran into the same issue.

    • @hitc-netsuite
      @hitc-netsuite  6 ปีที่แล้ว

      I found a Gulp installation tutorial here for Windows users, try this: www.tutorialspoint.com/gulp/gulp_installation.htm

  • @nayeemrahman4407
    @nayeemrahman4407 5 ปีที่แล้ว

    Dear Robin, thanks a lot for sharing this video, if possible could you please share the gulp.js, package json and all other files.

    • @hitc-netsuite
      @hitc-netsuite  5 ปีที่แล้ว +1

      Okay, try this: system.na0.netsuite.com/core/media/media.nl?id=10425&c=TSTDRV1234770&h=24a8b468ff254ba1fcd1&_xt=.zip

  • @hitc-netsuite
    @hitc-netsuite  5 ปีที่แล้ว

    Here's a zip file with the setup files for this video: system.na0.netsuite.com/core/media/media.nl?id=10425&c=TSTDRV1234770&h=24a8b468ff254ba1fcd1&_xt=.zip