After adding a NetSuite application connection to an environment, users can customize various aspects according to their unique setup.
To do this, go to Environment Settings β Application Connections β click the three dots next to your application β Edit Configuration File
For initial information about changing settings, read the Salto Configuration File article.
Managing File Cabinet Files
By default, Salto fetches only script files under the SuiteScripts and Templates folders, but this can be configured.
To control which files are included in your Salto workspace:
netsuite {
fetch = {
include = {
fileCabinet = [
"^/SuiteScripts/.*",
"^/Templates/.*",
]
}
exclude = {
fileCabinet = [
"^/Web Site Hosting Files.*",
]
}
}
}You can also set size limits to prevent fetching excessively large file cabinets:
netsuite {
client = {
maxFileCabinetSizeInGB = 3
maxFilesPerFileCabinetFolder = [
{
folderPath = "/SuiteScripts.*"
limit = 2000
},
]
}
}Note β File Cabinet limits help prevent performance issues when working with large NetSuite accounts.
Filtering NetSuite Types
By default, Salto fetches all NetSuite object types. You can restrict this using fetch.include.types and fetch.exclude.types.
To exclude all saved searches:
netsuite {
fetch = {
exclude = {
types = [
{
name = "savedsearch"
ids = [".*"]
},
]
}
}
}To exclude all inactive records across all types:
netsuite {
fetch = {
exclude = {
types = [
{
name = ".*"
criteria = {
isinactive = true
}
},
]
}
}
}Including Custom Records
By default, Salto does not fetch custom records from NetSuite. You can enable this by adding them to the include section.
To fetch all custom records:
netsuite {
fetch = {
include = {
customRecords = [
{
name = ".*"
}
]
}
}
}To fetch only a subset (for example, records from a specific bundle):
netsuite {
fetch = {
include = {
customRecords = [
{
name = "customrecord_sw_.*"
}
]
}
}
}
For advanced configuration options including deploy flags, dependency management, field omission, and the full parameter reference, see the Advanced NetSuite Configuration Guide.
