How To Import Existing Scripted Files As SDF

Step 1: Authenticate with NetSuite

  1. Open the Command Palette (Ctrl + Shift + P).
  2. Search for “SuiteCloud: Set Up Account” and select it.
  3. Choose “Add New Authentication ID” and follow the prompts to authenticate your NetSuite account.

Step 2: Create an SDF Project

  1. Open the Command Palette (Ctrl + Shift + P).
  2. Search for “SuiteCloud: Create Project” and select it.
  3. Enter a Project Name and choose a Project Type:
  • Account Customization (for general script updates)
  • SuiteApp (for bundle development)
  1. Choose a folder where the project will be created.

Step 3: Import Existing Scripts from NetSuite

  1. Open the Command Palette (Ctrl + Shift + P).
  2. Search for “SuiteCloud: Import Files from Account” and select it.
  3. Choose “File Cabinet” and navigate to the script file(s) you want to import.
  4. Select the script(s) and confirm the import.
  5. The scripts will be downloaded into your /FileCabinet/SuiteScripts/ folder in the project.

Step 4: Validate the Imported Files

  1. Open the Command Palette (Ctrl + Shift + P).
  2. Search for “SuiteCloud: Validate Project” and run it.
  3. If errors appear, resolve them before proceeding.

Step 5: Deploy the Imported Scripts to NetSuite

  1. Open the Command Palette (Ctrl + Shift + P).
  2. Search for “SuiteCloud: Deploy Project” and select it.
  3. If you want a preview first, run “SuiteCloud: Deploy Project”.
  4. Confirm deployment and wait for it to complete.

Step 6: Verify in NetSuite

  1. Log in to NetSuite.
  2. Go to Customization > Scripting > Scripts.
  3. Check if the imported scripts appear under File Cabinet > SuiteScripts.
  4. If needed, associate them with Script Records and Deployments.

Leave a comment

Your email address will not be published. Required fields are marked *