Downloading the XML Definition of an Object from a NetSuite Account
For some NetSuite record types supported as SDF custom objects by SuiteCloud Development Framework (SDF), you can download XML definitions directly from your NetSuite account. You can preview the downloaded file to learn how an SDF custom object is structured, or manually incorporate the definition in a SuiteCloud project.
You can also learn about the following:
To download an XML definition from a NetSuite account:
-
Log in to a NetSuite account.
-
Open a record type that is supported by SuiteCloud Development Framework as an SDF custom object.
For example, go to Customization > Lists, Records, & Fields > Record Types, and select any of the available record types.
For information about NetSuite components supported as SDF custom objects, see Customizations Supported by SuiteCloud Development Framework.
-
In the Actions menu, click Download XML or Download XML & Include Record Instances.
Your browser prompts you to download and save the XML definition of the SDF custom object for the record type that you opened.
If you downloaded the XML definition with record instances, the references to the record instances are nested in an instances XML element.
Alternatively, you can use SuiteCloud IDE plug-in to import XML definitions from a NetSuite account to a SuiteCloud project. For more information, see:
-
Using the extension for Visual Studio Code, see Importing Files from a NetSuite Account with SuiteCloud Extension for Visual Studio Code and Importing SDF Custom Objects from a NetSuite Account with SuiteCloud Extension for Visual Studio Code.
-
Using IDE plug-in for WebStorm, see Importing Account Components to your SuiteCloud Project with SuiteCloud IDE Plug-in for WebStorm.
-
Using CLI for Node.js, see file:import and object:import.
-
Using CLI for Java, see importfiles and importobjects.
You cannot import locked record types into SuiteCloud projects. You must either unlock the record types before you import them, or reference them outside of the SuiteCloud project. For more information about locked record types, see Locking SDF Custom Objects in the SuiteApp Type of SuiteCloud Project and Locking Objects in Customization Bundles.
Related Topics
- Developing SDF Custom Objects
- Syntax Guidelines and Reference Formats for SDF Custom Objects
- Translatable Fields on SDF Custom Objects
- SDF Custom Object File Structure
- Account-Specific Values Validation in SuiteCloud Projects
- Date and Time Formats in SDF Custom Objects
- Lists, Records, and Fields
- Reports
- Forms
- Import and Export
- Published Dashboards and Portlets
- Scripting
- Plug-ins
- Centers and Tabs
- Users and Roles in SDF
- Templates
- SuiteCommerce Web Site Management
- SuiteAnalytics Workbooks