27 March, 2022

SDF Building and Deploying Customization using WebStorm (Part 2)

Introduction

In Part 1, we discussed how to download WebStorm and connect with NetSuite. In this blog, we will discuss: 

  • How to create first project in WebStorm and deploy it in your NetSuite account 
  • How to create custom record in WebStorm and deploy it to NetSuite 
  • How to import custom objects from NetSuite into WebStorm for customization 
  • How to import script files or bundles from NetSuite into WebStorm for customization 

Let’s explore these processes without any further ado.

Create the first project in WebStorm and deploy it to NetSuite Account

Follow these steps to create your project: 

Go to File > New > Project > Account Customization > Enter the name of your project > click Create

this image shows the Project > Account Customization > Enter the name of your project

When you create your first project, it looks like this:

This image shows the create your first project

Create Custom Record in WebStorm and Deploy it to NetSuite

Here are steps to follow: 

  • Right click on Object > New > Custom Object > Select Record Type from Drop Down list and give ID like:
this image shows the Custom Object > Select Record Type from Drop Down list and give ID
  • Next, click ‘OK.’ 

Now your Record is created, and a new tab opens for customization.  

Here are some important tips and things to do during customization: 

    • Record Name like Test Record.
    • You can add fields in your record as well after giving ID and Name like as follow:
this image shows the important tips and things to do during customization - WebStorm
  • You can add more fields as per your requirements, copy and paste and change the name and ID of your field. 

<customrecordcustomfield scriptid=”custrecord_test_field”> 

            <accesslevel>2</accesslevel> 

            <description></description> 

            <displaytype>NORMAL</displaytype> 

            <fieldtype>TEXT</fieldtype> 

            <label>Gill Field</label> 

            <searchlevel>2</searchlevel> 

            <storevalue>T</storevalue> 

        </customrecordcustomfield> 

  • You should remember one important thing before deploying your record, i.e., add all the record reference and data  to your manifest.xml file following steps below:
    1. Right click > NetSuite > Add dependency References to Manifest.s 
    2. This will automatically add references to your manifest file. 
    3. Also, give a name to your manifest file because when you deploy it that Project name appears in your account like:
deploy it that Project name - WebStorm

Now you can deploy it to your Production account. It is just a small project to confirm whether our data has been pushed into NetSuite using WebStorm or not.

Unlock the Full Potential of NetSuite with AlphaBOLD's SDF Expertise

Are you looking to leverage the SuiteCloud Development Framework for your NetSuite environment? Elevate your NetSuite experience with our specialized NetSuite SDF services.

Request Support

Deploy your first project from WebStorm to NetSuite

Follow the process below to deploy your first project: 

  1. Right Click > NetSuite > Validate Project Against Account  

These steps help you to:  

Validate your account  

 To find if there is any error in your manifest file, like record, list, workflows issues, etc. 

  1. Figure out in which account you want to deploy your project because you might have more than one account attached to WebStorm.  
  2. Next, Right Click > NetSuite > Deploy 
  3. A Confirmation pop up will appear, click ‘YES.’ 

You will receive a confirmation message in the end. 

How to confirm record creation in the NetSuite Account?

Follow these steps to confirm whether your account is created in the NetSuite account or not: 

Go to Customization tab > SuiteCloud Development > deployment Audit Trail 

Here, you can see the name of your manifest file,  like: 

this image show's the deployment Audit Trail - WebStorm

 It confirms you have successfully created and deployed the project.  

 Next, confirm that the Record you created in WebStorm is created in NetSuite as well. Please refer to the following steps below: 

  1. First, go to Customization tab > List, Records, & Fields > Record Types. 
  2. Next, go to filters > owner > select your username. 

Here you see your record – CONGRATULATIONS! 

this image shows the Customization tab > List, Records, & Fields > Record Types. WebStorm

To view your custom record, click on it.

this image shows the custom record

Your custom record looks like the one you created in NetSuite using UI.

Import custom object from NetSuite into WebStorm for customization:

Here is what to do to import custom objects from NetSuite into WebStorm for customization: 

  1. Right Click on Object > NetSuite > Imports Objects from Account… 
  2. Select your production account where you want to import objects, then click ‘Next.’ 
  3. Then, select object type that you want to import and click on ‘Search.’ 
  4.  Again, click below Search to find which custom object you want to import from NetSuite. 

It can also show your custom record you created before, like: 

this image shows the Import custom object from NetSuite into WebStorm for customization
  1. Select Record that you want to import, and then, click ‘Finish.’
  2. Finally, your Custom Record is successfully imported into WebStorm, like:
this image show's the Custom Record

Import script file or bundle from NetSuite into WebStorm for customization:

Follow these steps to import script file or bundle: 

  1. Right Click on SuiteScripts > NetSuite > Imports files From Account. 
  2. Select Production account where you want to import files. 
  3. Click on ‘Get Files.’ 
  4. Select all files  you want to import from NetSuite or check SuiteScripts (for all files). 
  5. Lastly, click ‘OK.’ 
this image shows the Import script file or bundle from NetSuite into WebStorm for customization

You can see your files under SuiteScripts tab, like:

this image shows the see your files under SuiteScripts tab

After customization, you can deploy it to your NetSuite Account following this navigation: Right click > NetSuite > Deploy.
Read more SDF BUILDING AND DEPLOYING CUSTOMIZATION USING WEBSTORM (PART 3)

Streamline Your NetSuite Customizations with AlphaBOLD

Take your NetSuite customization to the next level with AlphaBOLD’s SuiteCloud Development services. Our experts specialize in leveraging the SDF to enhance your NetSuite solution, making development and deployment faster and more reliable.

Request Support

Conclusion

In this blog, we learnt how to create our first project using WebStorm and deploy it to connected NetSuite Account. You can also create custom records, import records and scripts from NetSuite and do a lot more. Let’s discuss other aspects of WebStorm in another blog.

Explore Recent Blog Posts

Copyright © 2024 AlphaBOLD | NetSuite Solution Provider | All Rights Reserved