Enhanced Feature Dependencies for SDF Custom Objects
Your users can fully install an SDF SuiteApp even if some NetSuite features aren't enabled in the target account. If the account administrator later enables those features, the relevant SDF custom objects become available to your SuiteApp’s users.
This feature is works for a limited set of SDF custom objects for SuiteCloud Development Framework (SDF), which you can include in your SDF SuiteApp. Your users can install these SDF SuiteApps without getting warnings or errors about missing features.
The following SDF custom objects support this feature dependency enhancement:
-
clientscript
-
customrecordtype
-
transactionForm
-
dataset
-
entryForm
-
itemcustomfield
-
othercustomfield
-
role
-
savedsearch
-
usereventscript
-
workbook
For information about enhanced feature dependencies in OneWorld accounts, see Enhanced Feature Dependencies for SDF Custom Objects Containing OneWorld Components.
Note the following information when including SDF custom objects in your SDF SuiteApps that support this enhancement:
-
SDF SuiteApp installation succeeds without notifying the user.
-
SDF SuiteApp deployment succeeds without any log entries outputted to the console of SuiteCloud IDE or the SuiteCloud CLI.
-
Validating a SuiteCloud project in SuiteCloud IDE or the SDF CLI doesn't notify you about features when they aren't enabled in the target account.
-
During SDF SuiteApp installation, SDF custom objects that are restricted by features are created in the target account, but they'll remain hidden until the feature is enabled.
Uninstalling an SDF SuiteApp also removes those SDF custom objects from the account, even when those objects were hidden.
-
You can still make the feature required for the target account by setting the its
required
attribute totrue
in the manifest, even if you already used SuiteCloud IDE to add the dependency references for you. That attribute value means that the installation will fail if the feature isn't enabled in the target account. To manually define the feature dependency, see Manually Defining Feature Dependencies in the SuiteCloud Project Manifest.Not specifying a feature in the manifest is functionally the same as setting the feature’s
required
attribute tofalse
.
The same functionality is also available for account customization projects (ACP) that contain supported SDF custom objects. You can deploy these projects to an account without the required features, and the custom objects will become available when the features are enabled.
For all other SDF custom objects, the standard feature dependency behavior remains true. For information about standard feature dependencies, see Standard Feature Dependencies for SDF Custom Objects.