Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
SuiteScript 2.0: Checking if a feature is enabled
Did you know?
SuiteScript 2.0 has a method under N/runtime module that can determine if a particular feature is enabled in a NetSuite account. The method is called runtime.isFeatureInEffect(options). It checks the features that appear on the Enabled Features page at Setup > Company > Enabled Features. It can be used to notify users regarding the state of a feature prior to bundle installation.
How?
The method only requires the internal ID of the feature to check. The list of feature internal IDs can be found in SuiteAnswers 10417 - Feature Names and IDs. Take a look at some of the examples below:
Tagged:
0