bundleinstallationscript
This topic provides information about the available fields and attributes for the XML definition of bundleinstallationscript SDF custom objects for bundle installation scripts. For information about creating bundle installation scripts, see SuiteScript 2.x Bundle Installation Script Type.
Feature Dependencies
-
SERVERSIDESCRIPTING
Attributes
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
scriptid |
string |
Required |
This attribute value can be up to 40 characters long. The default value is ‘customscript’. |
Fields
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
name |
single-select list |
Required |
This field value can be up to 40 characters long. This field accepts references to the string custom type. |
scriptfile |
filereference |
Required |
This field must reference a .js file. |
description |
single-select list |
Optional |
This field value can be up to 999 characters long. This field accepts references to the string custom type. |
isinactive |
boolean |
Optional |
The default value is F. |
notifyadmins |
boolean |
Optional |
The default value is F. |
notifyemails |
string |
Optional |
This field value can be up to 999 characters long. |
notifyowner |
boolean |
Optional |
The default value is T. |
afterinstallfunction |
string |
Optional |
|
afterupdatefunction |
string |
Optional |
|
beforeinstallfunction |
string |
Optional |
|
beforeuninstallfunction |
string |
Optional |
|
beforeupdatefunction |
string |
Optional |
|
Structured Fields
Structured fields are elements that usually contain subfields or groups of fields. They are similar to regular fields but have their own embedded structure. The following structured fields are supported: