Defining Feature Dependencies in SuiteCloud IDE Plug-in for WebStorm
When you use SDF with NetSuite features like SuiteScript or custom records, you must define the dependencies in the SuiteCloud project.
For more information, see Feature Dependencies for SDF Custom Objects in SuiteCloud Projects.
For an example of a project manifest with dependencies for an SDF custom object in a SuiteApp, see Example.
To automatically reference dependencies in the SuiteCloud project manifest:
-
In the Project window in WebStorm, right-click the SuiteCloud project.
-
Select NetSuite > Add Dependency References to Manifest.
SDF checks the NetSuite feature requirements in your project and adds any new dependency references to the
manifest.xml
file.Note:This option doesn't remove dependencies that are not referenced by any objects.
-
Review the new dependency references in the manifest. If you want, change the required attribute.
Example
Here's an example of a project manifest that references dependencies on the server-side SuiteScript and custom record features. The references let you use those features in the project.
<manifest projecttype="ACCOUNTCUSTOMIZATION">
<projectname>SDFTutorial</projectname>
<frameworkversion>1.0</frameworkversion>
<dependencies>
<features>
<feature required="true">CUSTOMRECORDS</feature>
<feature required="true">SERVERSIDESCRIPTING</feature>
</features>
</dependencies>
</manifest>
Related Topics
- Adding Dependencies to the Manifest in SuiteCloud IDE Plug-in for WebStorm
- Defining Dependencies on SDF Custom Objects in a SuiteApp and Bundle Objects with SuiteCloud IDE Plug-in for WebStorm
- Defining Account Component Dependencies from an Account Customization Project in SuiteCloud IDE Plug-in for WebStorm