Ssp-libraries

Documentation article about Ssp-libraries

·1 min read·View Oracle Docs

Ssp-libraries

Ssp-libraries

The ssp-libraries object declares the paths to all SuiteScript files to be loaded when you deploy.

json
1//...
2"ssp-libraries": {
3 "entry_point": "Modules/MyCoolModule/SuiteScript/Acme.MyCoolExtension.MyCoolModule.js",
4 "files": [
5 "Modules/MyCoolModule/SuiteScript/Acme.MyCoolExtension.MyCoolModule.js",
6 "Modules/MyCoolModule/SuiteScript/MyCoolModule.ServiceController.js",
7 "Modules/MyCoolModule/SuiteScript/MyCoolModule.Model.js",
8 "Modules/AdditionalCoolModule/SuiteScript/Acme.MyCoolExtension.AdditionalCoolModule.js",
9 "Modules/AdditionalCoolModule/SuiteScript/AdditionalCoolModule.ServiceController.js",
10 "Modules/AdditionalCoolModule/SuiteScript/AdditionalCoolModule.Model.js"
11 ]
12}
13//...

Frequently Asked Questions (4)

What is the purpose of the 'ssp-libraries' object in NetSuite?
The 'ssp-libraries' object is used to declare paths to all SuiteScript files that should be loaded when deploying your application.
Do I need to specify both entry points and additional files in 'ssp-libraries'?
Yes, you need to specify an 'entry_point' and provide a list of additional 'files' that your application will use.
Can I include scripts from multiple modules in the 'ssp-libraries' files array?
Yes, you can include scripts from multiple modules in the 'ssp-libraries' 'files' array.
If I update a script file path in the 'ssp-libraries', do I need to redeploy?
Yes, updating a script file path in the 'ssp-libraries' would require you to redeploy the configuration for changes to take effect.
Source: Ssp-libraries Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in General

View all General articles →