You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-15Lines changed: 44 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,9 @@
5
5
**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
6
6
7
7
## Features
8
+
8
9
### 1. NetSuite File Cabinet Management
10
+
9
11
Right-click the file/folder in the navigation panel to see the options:
10
12
11
13
-`Pull file from NetSuite` - downloads file from NetSuite
@@ -14,40 +16,67 @@ Right-click the file/folder in the navigation panel to see the options:
14
16
-`Compare file with NetSuite` - compares your local version with the NetSuite one
15
17
-`Pull folder from NetSuite` - Download the folder content from NetSuite
16
18
17
-

19
+

18
20
19
21
### 2. Snippets & commands
20
22
21
-
-`Snippets for module initialization` - type *defineRestlet...*, choose your module type and hit enter
23
+
-`Snippets for module initialization` - type _defineRestlet..._, choose your module type and hit enter
22
24
-`Commands for adding new NetSuite/custom dependencies` - open command line (`Ctrl`-`Shift`-`P`) and type
23
-
- *add netsuite dependency* for choosing of the NetSuite built-in module from the list
24
-
- *add custom dependency* for defining od custom dependecies
25
+
-_add netsuite dependency_ for choosing of the NetSuite built-in module from the list
26
+
-_add custom dependency_ for defining od custom dependecies
25
27
26
-

28
+

27
29
28
30
## Setup
29
-
##### NetSuite setup
31
+
32
+
### NetSuite setup
33
+
30
34
- Upload `netSuiteRestlet/vscodeExtensionRestlet.js` file somewhere in the `SuiteScripts` folder in NetSuite
31
35
- Create and deploy RESTlet using the file. (RESTlet URL will be set in the `settings.json`)
32
36
33
-
##### VSCode project setup
37
+
### VSCode project setup
38
+
34
39
- Open your local root **SuiteScripts** folder in VSCode
35
40
- If not yet created, create one or update the project `settings.json` inside the `.vscode` folder
36
41
- Copy the following code to `settings.json` and update with your settings
37
42
38
-
**settings.json**
43
+
### OAuth Authentication
44
+
45
+
I attempted to implement OAuth, but have failed. If anyone would like to help me figure out what the deal is, I'm open.
46
+
47
+
To experiment with OAuth, leave the setting for `netSuiteUpload.authentication` unset or commented out.
48
+
49
+
- If you wish to use OAuth authentication instead of basic authentication you can leave the authentication header blank and use the OAuth settings properties.
50
+
- First generate an Integration record in NetSuite, make sure the 'token based authentication' scheme is checked, and save the token and secret
51
+
- Second log into a role you wish to use for authentication and from the manage tokens center generate a new token and secret using the Integration from the previous step
52
+
- Input the 4 values from above in the corresponding settings options along with the account number in the realm property
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.
81
+
82
+
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.
0 commit comments