Code Monkey home page Code Monkey logo

netsuite-upload's Introduction

netsuite-upload VS Code plugin

Version

netsuite-upload is a Visual Studio Code extension that allows you to manage your SuiteScript files directly from the IDE & helps you with defining of new momdules & module dependecies

Features

1. NetSuite File Cabinet Management

Right-click the file/folder in the navigation panel to see the options:

  • Pull file from NetSuite - downloads file from NetSuite
  • Push file to NetSuite - uploads file to NetSuite
  • Delete file in NetSuite - deletes file in NetSuite
  • Compare file with NetSuite - compares your local version with the NetSuite one
  • Pull folder from NetSuite - Download the folder content from NetSuite

Snippet & commands

2. Snippets & commands

  • Snippets for module initialization - type defineRestlet..., choose your module type and hit enter
  • Commands for adding new NetSuite/custom dependencies - open command line (Ctrl-Shift-P) and type
    • add netsuite dependency for choosing of the NetSuite built-in module from the list
    • add custom dependency for defining od custom dependecies

Snippet & commands

Setup

NetSuite setup
  • Upload netSuiteRestlet/vscodeExtensionRestlet.js file somewhere in the SuiteScripts folder in NetSuite
  • Create and deploy RESTlet using the file. (RESTlet URL will be set in the settings.json)
VSCode project setup
  • Open your local root SuiteScripts folder in VSCode
  • If not yet created, create one or update the project settings.json inside the .vscode folder
  • Copy the following code to settings.json and update with your settings

settings.json

{
	// Authentication header
  	"netSuiteUpload.authentication": "NLAuth nlauth_account=<ACCOUNTID>, nlauth_email=<LOGIN>, nlauth_signature=<PASSWORD>, nlauth_role=<ROLE>",

	// Restlet URL
	"netSuiteUpload.restlet": "<RESTlet URL>",

	// Temporary folder (e.g. C:\\temp) - used for storing compared file
	"netSuiteUpload.tempFolder": "<TEMP FOLDER PATH>"
}

Limitation

The plugin is using RESTlet for the communication with the NetSuite which is having some governance limitation. Current implementation does not deal with this problem, so there could be a problem to pull folders containing a lot of items from NetSuite.

netsuite-upload's People

Contributors

tvrdytom avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar Cool Flame avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.