Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SuiteScripts folder is not available on Import Files command #680

Open
jsnzldy opened this issue Mar 3, 2023 · 9 comments
Open

SuiteScripts folder is not available on Import Files command #680

jsnzldy opened this issue Mar 3, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@jsnzldy
Copy link

jsnzldy commented Mar 3, 2023

As the title says. Only Templates and Web Hosting Files subfolders are select-able.

image

@lfpvillegas
Copy link
Member

lfpvillegas commented Mar 6, 2023

Hi @jsnzldy
Thanks for your message.
I have been not able to replicate this. Could you provide more info about it?

  • OS
  • Version of the VsCode extension
  • A Screenshot of your FileCabinet in your account in the Netsuite UI (I only want to see if Suitescript folder exists in your account, so you don't need to show all your files)

Thanks and Regards

@jsnzldy
Copy link
Author

jsnzldy commented Mar 16, 2023

  • Windows 11
  • 1.4
  • Screenshot
    image

Additional info
This only happens on one specific Account on both Production and Sandbox environment. Same issue on all tried Users and Roles including Administrator.

@ball-of-twine
Copy link

I'm having the same issue, with both the VS Code extension (v1.5.1) and the node CLI (v1.7.0) (on windows 10).

In VS code, I'm getting the same results as @jsnzldy. Additionally the 'list files' command behaves the same way.

In the CLI I get the same behaviour with file:import and file:list with the -i interactive flag set (the /SuiteScripts folder not present).
When I run file:list --folder /SuiteScripts I get "No files found.", but if I specify a sub directory of SuiteScripts, I get the correct results (i.e. file:list --folder /SuiteScripts/subdir). This all also applies to file:import.

@lfpvillegas
Copy link
Member

Hi @jsnzldy , @ball-of-twine
I'm coming back to this issue. Are you still experiencing it?
I'm afraid I cannot reproduce it without more information, and it seems that is an error very specific to some accounts, so my guess is that this is not an error from the CLI or VsCode Extension, but from the info received from NetSuite.

Please fill a Customer Support ticket with all the info and specifying which accounts have this behavior. That way we could investigate these cases and you would receive feedback.

I'm leaving this issue open just in case more people is experiencing it or could provide more info.

@lfpvillegas lfpvillegas added the bug Something isn't working label Feb 22, 2024
@gespindola
Copy link

I have the same issue.
SuiteCloud Extension for Visual Studio Code v1.6.0
OS: MacOS
java 17.0.4.1 2022-08-18 LTS
Java(TM) SE Runtime Environment (build 17.0.4.1+1-LTS-2)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.4.1+1-LTS-2, mixed mode, sharing)

Has anyone found the error?

@Stephen-Gosner
Copy link

Hi @lfpvillegas I am having the same issue. All objects can be imported as expected, however there is nothing available for SuiteScript

SuiteCloud Extension for Visual Studio Code v1.6.0
OS: Windows 11
Oracle JDK version 17
Visual Studio Code 1.89

Screenshot VS Code SuiteCloud Extension

Has anything been identified as the issue?

@alisyed-19
Copy link
Member

@Stephen-Gosner @gespindola
Are you using an admin role? and can you confirm you see the suitescripts folder in the account with same role?

@davidbarrpeloton
Copy link

I'm running into this issue as well and reached out about it to our support rep. NetSuite Support has created a U4 for it.

I would encourage anyone else running into this problem to contact their support rep as well.

@davidecorreu
Copy link
Member

Hi @davidbarrpeloton ,

Our team is providing a set of SuiteCloud SDK tools

  • SuiteCloud Extension for Visual Studio Code (vscode-extension)
  • SuiteCloud IDE Plug-in for WebStorm (webstorm-plugin)
  • SuiteCloud CLI for Java (java-cli)
  • SuiteCloud CLI for Node.js (node-cli)

And in a different category we could also add SuiteCloud Unit Tesing (node-unit-testing-package).
For simplicity I'm going to use the short name inside the parenthesis to name each of the products.

I have seen the created issue via NetSuite Support, and I want to summarize what I think it happened in your case:

I think you have used vscode-extension (SuiteCloud: Set Up Account) to setup an account in the context of a SuiteCloud project, and later from vscode terminal and in the context of the same SuiteCloud project you have tried to list the files in the previously setup account with the node-cli command suitecloud file:list -i.
This actually should work just fine, but it didn't.

My hypothesis (that could be wrong) is that you are using the previous version of node-cli v1.9.0 which doesn't work well with latest vscode-extension v2.0.0.

If the hypothesis is right, your case is different than this github issue. But I still think this description could help to some other SuiteCloud SDK users to identify a similar proble.

Mainly what I want to say is that vscode-extension and webstorm-plugin gets automatically updated but java-cli and node-cli doesn't. So in case you run into any trouble try to check and update all the SuiteCloud SDK tools to its latest version, specially the CLIs.

I hope this will help.

David


Extra links to check CLIs:

To get the latest updates for java-cli, use one of the following links:
- Windows: https://system.netsuite.com/download/suitecloud-sdk/cli/java/latest/sdf-cli.zip
- Linux and OS: https://system.netsuite.com/download/suitecloud-sdk/cli/java/latest/sdf-cli.tar.gz

For node-cli check:
- https://github.com/oracle/netsuite-suitecloud-sdk/tree/master/packages/node-cli


Official help documentation about SuiteCloud SDK tools:
- https://system.netsuite.com/app/help/helpcenter.nl?fid=chapter_156026236161.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants