trying to get the SuiteCloud IDE to work, but runn...
# sdf
j
trying to get the SuiteCloud IDE to work, but running into some snags. I worked with Netsuite support for a few hours yesterday. Have you guys run into this problem when trying to validate?
Copy code
10:15	The remote server returned an error:
			<https://system.na3.netsuite.com:443/app/suiteapp/devframework/idevalidationhandler.nl> - Partial Content
b
are you prepared to answer questions that look like a boring setup document
j
yes, even if it is going over it all over again, lol
b
Custom Records Client SuiteScript Server SuiteScript Web Services (SuiteTalk) Token-Based Authentication SuiteCloud Development Framework
Are these features enabled?
a
Did you change password or got 2FA enabled?
j
Yup, all of those features are enabled on the account. I setup the role using the "Developer" documentation in SuiteHelp.
b
are you on 2019.1?
j
@Albert Margarit (NS Eng Lead) Did not change the password, 2FA is enabled
not on 2019.1 yet, I think tomorrow night it is scheduled
currently using the 18.2.1 version of SuiteCloud IDE
b
Does your custom role have the following list permissions? Custom Record Entries: Full Documents and Files: Full Email Template: Full Integration Applications: Full Perform Search: Full Website (External) publisher: Full
j
yes, that is setup in the List Permissions. I can also send you what is in the Setup permissions, to save you some typing
b
Does your custom role have the following setup permissions? Access Token Management Full Advanced PDF/HTML Templates Full Allow JS / HTML Uploads Full Bulk Manage Roles Full CRM Lists Full Custom Body Fields Full Custom Center Categories Full Custom Center Links Full Custom Center Tabs Full Custom Centers Full Custom Column Fields Full Custom Entity Fields Full Custom Entry Forms Full Custom Event Fields Full Custom Fields Full Custom Item Fields Full Custom Item Number Fields Full Custom Lists Full Custom PDF Layouts Full Custom Record Types Full Custom Segments Full Custom Sublist Full Custom Sublists Full Custom Subtabs Full Custom Transaction Fields Full Custom Transaction Forms Full Enable Features Full Import CSV File Full Integration Application Full Log in using Access Tokens Full Manage Custom Permissions Full Other Custom Fields Full Publish Dashboards Full Set Up CSV Preferences Full Set Up Web Site Full SuiteApp Deployment Full SuiteScript Full SuiteScript Scheduling Full User Access Tokens Full Web Services Full Workflow Full
you might be able to guess that i am copy/pasting what the 2019.1 Developer role looks like
j
yup, those are setup on the role I'm using
b
Is the SuiteCloud Development Integration bundle installed in your account?
j
I dont think so. What is the best way to check
a
@jeffmillies so did you generate the token in the UI and saved in the IDE?
j
yes, I have tried using the IDE to gen the token and I have also done it manually in the Netsuite UI
a
here's the thing..
j
I do not have "SuiteCloud Development Integration" bundle installed
a
Our IDE currently verifies the connection with NS by using basic credentials but then for the actual operation it uses the token. This means that if your password changed, you will need to re-do the authentication process in the IDE (even though your tokens are valid)
I would suggest to remove the accounts and start the process again. I know, not ideal..
j
makes sense. I have not updated the password tho
j
I just started trying to get it to work yesterday
b
search for the bundle and install it
j
what does this bundle do? I dont see anything in the Overview, will it have conflicts with 2019.1?
b
it shouldn't
it adds the integration that SDF uses to your account
that way you will be able to generate tokens via the ui
j
installing now
ok, done
b
do you know how to generate tokens
j
when you say token, that's referring to "My Access Tokens" right? that you get to from the dashboard
b
yes
j
yup, I have generated those
I appreciate all the help btw
b
Generate a token for the SuiteCloud Development Integration
j
side question, can this be done for the Administrator role? or is this for non admin/high privilege roles?
a
It should be doable with Admin role but you should generate the token in the UI and then use the save token functionality in the IDE
j
got it. what is "Apply Content Production" ?
a
you should chck this in case you want to protect your content in the final account (lock and hide objects). Typically used for SuiteApp development, not Account Customization Projects
j
also, I will need to redo this process when 2019.1 happens right? and download the other plugin for it
b
do you know how to save the tokens in eclipse/webstorm?
j
yes
b
go save your new tokens
j
done, looks like it passed that step. I think the main piece that I was missing was the bundle, because that is the Application Id I'm sure the SuiteCloud IDE is using
I just have this now
Copy code
*** ERROR ***

Validation failed.

An error occurred during manifest validation.
Details: The manifest file is missing.
File: manifest.xml
I'm just trying to regain the functionality to upload to the File Cabinet, since the admin roles were locked out from doing that. I was using the other plugin before
b
is this a new or existing project
j
existing
b
you poor soul
🤣 1
create a new project
j
🙁
b
you might notice the project structure is different
j
yeah, kind of thinking that
b
after you create your new project, you will want to migrate your files to the FileCabinet/SuiteScripts/{whatever your old files were uploaded}
j
so move my existing files to the new project? Will I need to deploy them again?
do you have some documentation on what the manifest file should look like? I started a fresh project
b
when you create a new project, it should create a manifest file for you
what project type did you choose
j
oh I see, I usually dont use the project wizard, just opening a new folder. Should I use Account Customization?
b
yes
j
@jeffmillies If you are just trying to upload files and already had something set up to do that, then I recommend creating a new role with just file cabinet permissions. It won't need 2FA / tokens if that is why you can't use your previous setup.
j
Yeah, I tried that and it's just erroring out @jkabot
the response just keeps saying that 2FA is required. I spent most of the day trying to get that to work. So I'm moving on
j
😟 hmm I am just using a restlet and a role with two permissions Lists/Documents and Files - Full Setup/Allow JS and HTML Uploads - Full
j
great success @battk
Copy code
Validate manifest -- Success
Validate deploy file -- Success
Validate configuration -- Success
Validate script file -- Success
Validate objects -- Success
Validate files -- Success
Validate folders -- Success
Validate preferences -- Success
Validate flags -- Success
Validate account settings -- Success
Validate Custom Objects against the Account -- Success
Validation COMPLETE
b
try making a change to a file and then deploy
j
I haven't moved anything over yet. If I just add a new file in the SuiteScript folder and deploy, it should add it in the file cabinet? does it have to be a valid SS file? or can it just be a text file
b
im not too sure if you have suitecommerce advanced things
but you can upload whatever you want
in the supported folders at least
j
Copy code
Info -- Framework Version [1.0]
Validate manifest -- Success
Validate deploy file -- Success
Validate configuration -- Success
Validate script file -- Success
Validate objects -- Success
Validate files -- Success
Validate folders -- Success
Validate preferences -- Success
Validate flags -- Success
Validate account settings -- Success
Validate Custom Objects against the Account -- Success
Begin deployment
Upload file -- ~/FileCabinet/SuiteScripts/test.txt
2019-04-10 09:07:13 (PST) Installation COMPLETE (0 minutes 2 seconds)
Do you know if I need to right-click the file to deploy? to specify what files should be deployed? or does it know what has been modified last? and that deploy is the same regardless to what file you right click on
b
current version of sdf ide zips everything in the project folder and then sends it validate
only changed things are changed
j
ok cool. Thank you for all the help
b
im not sure if it uses the zipped folder to do that or if it uploads things again
j
I should just be able to drop my folder inside this new project and the existing file structure will be maintained
b
yes
j
great, thank you again!
just noticed that it also has just upload file or folder, which is great.