Additional Changes to Hidden Files using 2025.1 Release Update

The stack property of Error instances and the .toString()method on functions will be functionally

discontinued in hidden files. The following changes will take place in NetSuite 2025.1, with an estimated

date of June 2025:

■ Usage of functionName.toString() where functionName is part of a hidden file will result in an error.

■ The stack property of an Error instance (i.e., Error.stack) will no longer show the trace of a function if it

is a part of a hidden file.

ReleaseNotes_2025.1.0.pdf—Release Preview Draft—Subject to

Change

SuiteScript 34

Files are considered hidden if any of the following is true:

■ The file record in the File Cabinet has the Hide in SuiteBundle preference enabled.

■ Your SuiteApp has a hiding.xml file in the InstallationPreferences folder with the “HIDING”

defaultAction set to “HIDE.”

■ Your SuiteApp has attribute files under FileCabinet > SuiteApps > com.netsuite.project > .attributes

where the hideinbundle field is set to ‘T’.

As a script owner, if you use functionName.toString()or Error instances’ stack property in a hidden file, you

must remove such usages to prevent the script functionality from breaking in target accounts.

Leave a comment

Your email address will not be published. Required fields are marked *